From c532053396ce7864fa8e5d9856c49244f96d7479 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sat, 17 Oct 2026 20:43:37 +0700 Subject: [PATCH] #749: clear the shortcuts panel after the home screen draws, so it never shows for a frame --- crates/ui-egui/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs index 6d867abfe..9ad7bae60 100644 --- a/crates/ui-egui/src/lib.rs +++ b/crates/ui-egui/src/lib.rs @@ -1414,10 +1414,11 @@ impl FigApp { return; } if !self.has_files() || self.ui.home { - // The shortcuts panel belongs to the canvas; it doesn't hang over the home screen. - self.ui.shortcuts_panel = false; tabs::tab_bar(self, ui); home::show(self, ui); + // The shortcuts panel belongs to the canvas; it doesn't hang over the home screen + // (cleared after the home widgets, which may have just asked for it). + self.ui.shortcuts_panel = false; dialogs::keys(self, &ctx); dialogs::show(self, &ctx); self.toast_ui(&ctx);