mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
doc
This commit is contained in:
parent
8138e71d51
commit
492321072c
1 changed files with 5 additions and 4 deletions
|
|
@ -524,7 +524,7 @@ namespace Flow.Launcher.ViewModel
|
|||
{
|
||||
// not null means pressing modifier key + number, should ignore the modifier key
|
||||
SpecialKeyState = index is not null ? SpecialKeyState.Default : GlobalHotkey.CheckModifiers()
|
||||
}).ConfigureAwait(false);
|
||||
}).ConfigureAwait(false) ;
|
||||
|
||||
if (hideWindow)
|
||||
{
|
||||
|
|
@ -534,13 +534,14 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
// Record user selected result for result ranking
|
||||
_userSelectedRecord.Add(result);
|
||||
// Add item to history only if it is from results but not context menu or history
|
||||
// Add item to history and topmost only if it is from results but not context menu or history
|
||||
if (queryResultsSelected)
|
||||
{
|
||||
_history.Add(result);
|
||||
lastHistoryIndex = 1;
|
||||
if (Settings.AutoTopmost) _topMostRecord.AddOrUpdate(result);
|
||||
}
|
||||
if (Settings.AutoTopmost)
|
||||
_topMostRecord.AddOrUpdate(result);
|
||||
}
|
||||
}
|
||||
|
||||
private static IReadOnlyList<Result> DeepCloneResults(IReadOnlyList<Result> results, bool isDialogJump, CancellationToken token = default)
|
||||
|
|
|
|||
Loading…
Reference in a new issue