mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
- Add Quick adjust maxresultcount by CTRL+[ and ]
This commit is contained in:
parent
91c9397b0f
commit
2ca2fe9d9e
3 changed files with 26 additions and 5 deletions
|
|
@ -41,6 +41,7 @@
|
|||
<system:String x:Key="LastQuerySelected">Select last Query</system:String>
|
||||
<system:String x:Key="LastQueryEmpty">Empty last Query</system:String>
|
||||
<system:String x:Key="maxShowResults">Maximum results shown</system:String>
|
||||
<system:String x:Key="maxShowResultsToolTip">You can quick adjust CTRL+[ and CTRL+] in query box.</system:String>
|
||||
<system:String x:Key="ignoreHotkeysOnFullscreen">Ignore hotkeys in fullscreen mode</system:String>
|
||||
<system:String x:Key="ignoreHotkeysOnFullscreenToolTip">Disable Flow Launcher activation when a full screen application is active (Recommended for games).</system:String>
|
||||
<system:String x:Key="defaultFileManager">Default File Manager</system:String>
|
||||
|
|
|
|||
|
|
@ -550,6 +550,24 @@ namespace Flow.Launcher
|
|||
Left = Left - 50;
|
||||
}
|
||||
break;
|
||||
case Key.OemOpenBrackets:
|
||||
if (specialKeyState.CtrlPressed)
|
||||
{
|
||||
if (_settings.MaxResultsToShow < 2)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
_settings.MaxResultsToShow = _settings.MaxResultsToShow - 1;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Key.OemCloseBrackets:
|
||||
if (specialKeyState.CtrlPressed)
|
||||
{
|
||||
_settings.MaxResultsToShow = _settings.MaxResultsToShow + 1;
|
||||
}
|
||||
break;
|
||||
case Key.Back:
|
||||
if (specialKeyState.CtrlPressed)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -768,11 +768,13 @@
|
|||
BorderThickness="0"
|
||||
Style="{DynamicResource SettingGroupBox}">
|
||||
<ItemsControl Style="{StaticResource SettingGrid}">
|
||||
<TextBlock
|
||||
Grid.Column="1"
|
||||
VerticalAlignment="Center"
|
||||
Style="{DynamicResource SettingTitleLabel}"
|
||||
Text="{DynamicResource maxShowResults}" />
|
||||
<StackPanel Grid.Column="1">
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
Style="{DynamicResource SettingTitleLabel}"
|
||||
Text="{DynamicResource maxShowResults}" />
|
||||
<TextBlock Style="{DynamicResource SettingSubTitleLabel}" Text="{DynamicResource maxShowResultsToolTip}" />
|
||||
</StackPanel>
|
||||
<ComboBox
|
||||
Grid.Column="2"
|
||||
Width="100"
|
||||
|
|
|
|||
Loading…
Reference in a new issue