mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Improve code quality
This commit is contained in:
parent
dc3f663947
commit
e98b1441a4
1 changed files with 2 additions and 1 deletions
|
|
@ -68,7 +68,6 @@ namespace Flow.Launcher
|
|||
var handle = new WindowInteropHelper(this).Handle;
|
||||
var win = HwndSource.FromHwnd(handle);
|
||||
win.AddHook(WndProc);
|
||||
SetupSearchTextBoxReactiveness(_settings.SearchQueryResultsWithDelay);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -196,6 +195,8 @@ namespace Flow.Launcher
|
|||
InitializePosition();
|
||||
InitializePosition();
|
||||
PreviewReset();
|
||||
// Setup search text box reactiveness
|
||||
SetupSearchTextBoxReactiveness(_settings.SearchQueryResultsWithDelay);
|
||||
// since the default main window visibility is visible
|
||||
// so we need set focus during startup
|
||||
QueryTextBox.Focus();
|
||||
|
|
|
|||
Loading…
Reference in a new issue