From 23bc7083cb02129e7bb57d1b30cd94664ea7dfb2 Mon Sep 17 00:00:00 2001 From: Kayshen-X Date: Sun, 19 Jul 2026 20:45:03 +0800 Subject: [PATCH] fix(desktop): drop font-wip lines swept into the epoch-guard commit --- crates/op-host-desktop/src/persistence.rs | 1 - crates/op-host-native/src/widget_host.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/crates/op-host-desktop/src/persistence.rs b/crates/op-host-desktop/src/persistence.rs index 090da1380..daeb3524b 100644 --- a/crates/op-host-desktop/src/persistence.rs +++ b/crates/op-host-desktop/src/persistence.rs @@ -140,7 +140,6 @@ fn load_into_host(host: &mut WidgetHostNative, path: &std::path::Path) -> Result // the next paint rebuilds instead of serving the old document's rows. host.force_rotate_layer_panel_owner(); host.mark_editor_state_dirty(); - host.arm_missing_fonts_detection(); Ok(()) } diff --git a/crates/op-host-native/src/widget_host.rs b/crates/op-host-native/src/widget_host.rs index 73779a4cd..6431215f4 100644 --- a/crates/op-host-native/src/widget_host.rs +++ b/crates/op-host-native/src/widget_host.rs @@ -106,7 +106,6 @@ mod input_tests; #[cfg(test)] mod instance_panel_tests; mod keyboard; -mod missing_fonts_dispatch; mod mode_transition_host; #[cfg(test)] mod overlay_cursor_tests; @@ -1293,7 +1292,6 @@ impl WidgetHostNative { // build's inputs — otherwise the canvas would stay blank. self.scene_cache.invalidate(); self.editor_state_dirty = true; - self.arm_missing_fonts_detection(); } /// Drain a queued Component-Browser insert: place the chosen