mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-17 07:35:10 +00:00
#749: clear the shortcuts panel after the home screen draws, so it never shows for a frame
This commit is contained in:
1 parent
96091494a5
commit
c532053396
1 file changed
+3
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user