mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
remove Dispatcher guide since it is ensured to be called after QueryText change (Attempted)
This commit is contained in:
parent
29081ec281
commit
906d0e8c5a
1 changed files with 1 additions and 1 deletions
|
|
@ -675,7 +675,7 @@ namespace Flow.Launcher
|
|||
{
|
||||
// QueryTextBox seems to be update with a DispatcherPriority as low as ContextIdle.
|
||||
// To ensure QueryTextBox is up to date with QueryText from the View, we need to Dispatch with such a priority
|
||||
Dispatcher.Invoke(() => QueryTextBox.CaretIndex = QueryTextBox.Text.Length, System.Windows.Threading.DispatcherPriority.ContextIdle);
|
||||
Dispatcher.Invoke(() => QueryTextBox.CaretIndex = QueryTextBox.Text.Length);
|
||||
}
|
||||
|
||||
public void InitializeColorScheme()
|
||||
|
|
|
|||
Loading…
Reference in a new issue