mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix acrylic backdrop flicker issue
This commit is contained in:
parent
2ea303f557
commit
ecc9f0daad
1 changed files with 5 additions and 5 deletions
|
|
@ -181,19 +181,19 @@ namespace Flow.Launcher
|
|||
PreviewMouseMove += MainPreviewMouseMove;
|
||||
CheckFirstLaunch();
|
||||
HideStartup();
|
||||
// show notify icon when flowlauncher is hidden
|
||||
// Show notify icon when flowlauncher is hidden
|
||||
InitializeNotifyIcon();
|
||||
InitializeColorScheme();
|
||||
WindowsInteropHelper.DisableControlBox(this);
|
||||
InitProgressbarAnimation();
|
||||
// Move the window out of screen because setting backdrop will cause flicker with a rectangle
|
||||
Left = Top = -10000;
|
||||
await ThemeManager.Instance.RefreshFrameAsync();
|
||||
// Initialize call twice to work around multi-display alignment issue- https://github.com/Flow-Launcher/Flow.Launcher/issues/2910
|
||||
InitializePosition();
|
||||
InitializePosition();
|
||||
// Refresh frame after position is intialized
|
||||
await ThemeManager.Instance.RefreshFrameAsync();
|
||||
PreviewReset();
|
||||
// since the default main window visibility is visible
|
||||
// so we need set focus during startup
|
||||
// Since the default main window visibility is visible, so we need set focus during startup
|
||||
QueryTextBox.Focus();
|
||||
|
||||
_viewModel.PropertyChanged += (o, e) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue