File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -181,19 +181,19 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
181181 PreviewMouseMove += MainPreviewMouseMove ;
182182 CheckFirstLaunch ( ) ;
183183 HideStartup ( ) ;
184- // show notify icon when flowlauncher is hidden
184+ // Show notify icon when flowlauncher is hidden
185185 InitializeNotifyIcon ( ) ;
186186 InitializeColorScheme ( ) ;
187187 WindowsInteropHelper . DisableControlBox ( this ) ;
188188 InitProgressbarAnimation ( ) ;
189+ // Move the window out of screen because setting backdrop will cause flicker with a rectangle
190+ Left = Top = - 10000 ;
191+ await ThemeManager . Instance . RefreshFrameAsync ( ) ;
189192 // Initialize call twice to work around multi-display alignment issue- https://github.com/Flow-Launcher/Flow.Launcher/issues/2910
190193 InitializePosition ( ) ;
191194 InitializePosition ( ) ;
192- // Refresh frame after position is intialized
193- await ThemeManager . Instance . RefreshFrameAsync ( ) ;
194195 PreviewReset ( ) ;
195- // since the default main window visibility is visible
196- // so we need set focus during startup
196+ // Since the default main window visibility is visible, so we need set focus during startup
197197 QueryTextBox . Focus ( ) ;
198198
199199 _viewModel . PropertyChanged += ( o , e ) =>
You can’t perform that action at this time.
0 commit comments