mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix startup flicker
This commit is contained in:
parent
2d2f7de687
commit
29f94d66c2
2 changed files with 1 additions and 4 deletions
|
|
@ -203,7 +203,7 @@ namespace Flow.Launcher
|
|||
// it will steal focus from main window which causes window hide
|
||||
HotKeyMapper.Initialize();
|
||||
|
||||
// Main windows needs initialized before theme change because of blur settings
|
||||
// Initialize theme for main window
|
||||
Ioc.Default.GetRequiredService<Theme>().ChangeTheme();
|
||||
|
||||
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||
|
|
|
|||
|
|
@ -166,9 +166,6 @@ namespace Flow.Launcher
|
|||
// Force update position
|
||||
UpdatePosition();
|
||||
|
||||
// Refresh frame
|
||||
await _theme.RefreshFrameAsync();
|
||||
|
||||
// Initialize resize mode after refreshing frame
|
||||
SetupResizeMode();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue