mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
name changes
This commit is contained in:
parent
693ca2b436
commit
0c9bd7fcab
4 changed files with 11 additions and 11 deletions
|
|
@ -496,15 +496,15 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool _autoTopmost = false;
|
private bool _autoTopmostResults = false;
|
||||||
public bool AutoTopmost
|
public bool AutoTopmostResults
|
||||||
{
|
{
|
||||||
get => _autoTopmost;
|
get => _autoTopmostResults;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (_autoTopmost != value)
|
if (_autoTopmostResults != value)
|
||||||
{
|
{
|
||||||
_autoTopmost = value;
|
_autoTopmostResults = value;
|
||||||
OnPropertyChanged();
|
OnPropertyChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -177,8 +177,8 @@
|
||||||
<system:String x:Key="homeToggleBoxToolTip">This can only be edited if plugin supports Home feature and Home Page is enabled.</system:String>
|
<system:String x:Key="homeToggleBoxToolTip">This can only be edited if plugin supports Home feature and Home Page is enabled.</system:String>
|
||||||
<system:String x:Key="showAtTopmost">Show Search Window at Foremost</system:String>
|
<system:String x:Key="showAtTopmost">Show Search Window at Foremost</system:String>
|
||||||
<system:String x:Key="showAtTopmostToolTip">Overrides other programs' 'Always on Top' setting and displays Flow in the foremost position.</system:String>
|
<system:String x:Key="showAtTopmostToolTip">Overrides other programs' 'Always on Top' setting and displays Flow in the foremost position.</system:String>
|
||||||
<system:String x:Key="autoTopmostOnOpen">Auto Topmost on Open</system:String>
|
<system:String x:Key="autoTopmostResults">Auto Topmost Results</system:String>
|
||||||
<system:String x:Key="autoTopmostOnOpenToolTip">Set Flow Launcher to be topmost automatically when it is opened.</system:String>
|
<system:String x:Key="autoTopmostResultsToolTip">Automatically mark selected results as topmost in their queries for faster access in future searches.</system:String>
|
||||||
<system:String x:Key="autoRestartAfterChanging">Restart after modifying plugin via Plugin Store</system:String>
|
<system:String x:Key="autoRestartAfterChanging">Restart after modifying plugin via Plugin Store</system:String>
|
||||||
<system:String x:Key="autoRestartAfterChangingToolTip">Restart Flow Launcher automatically after installing/uninstalling/updating plugin via Plugin Store</system:String>
|
<system:String x:Key="autoRestartAfterChangingToolTip">Restart Flow Launcher automatically after installing/uninstalling/updating plugin via Plugin Store</system:String>
|
||||||
<system:String x:Key="showUnknownSourceWarning">Show unknown source warning</system:String>
|
<system:String x:Key="showUnknownSourceWarning">Show unknown source warning</system:String>
|
||||||
|
|
|
||||||
|
|
@ -98,14 +98,14 @@
|
||||||
|
|
||||||
<ui:SettingsCard
|
<ui:SettingsCard
|
||||||
Margin="0 4 0 0"
|
Margin="0 4 0 0"
|
||||||
Description="{DynamicResource autoTopmostOnOpenToolTip}"
|
Description="{DynamicResource autoTopmostResultsToolTip}"
|
||||||
Header="{DynamicResource autoTopmostOnOpen}">
|
Header="{DynamicResource autoTopmostResults}">
|
||||||
<ui:SettingsCard.HeaderIcon>
|
<ui:SettingsCard.HeaderIcon>
|
||||||
<ui:FontIcon Glyph="" />
|
<ui:FontIcon Glyph="" />
|
||||||
</ui:SettingsCard.HeaderIcon>
|
</ui:SettingsCard.HeaderIcon>
|
||||||
|
|
||||||
<ui:ToggleSwitch
|
<ui:ToggleSwitch
|
||||||
IsOn="{Binding Settings.AutoTopmost}"
|
IsOn="{Binding Settings.AutoTopmostResults}"
|
||||||
OffContent="{DynamicResource disable}"
|
OffContent="{DynamicResource disable}"
|
||||||
OnContent="{DynamicResource enable}" />
|
OnContent="{DynamicResource enable}" />
|
||||||
</ui:SettingsCard>
|
</ui:SettingsCard>
|
||||||
|
|
|
||||||
|
|
@ -538,7 +538,7 @@ namespace Flow.Launcher.ViewModel
|
||||||
{
|
{
|
||||||
_history.Add(result);
|
_history.Add(result);
|
||||||
lastHistoryIndex = 1;
|
lastHistoryIndex = 1;
|
||||||
if (Settings.AutoTopmost)
|
if (Settings.AutoTopmostResults)
|
||||||
_topMostRecord.AddOrUpdate(result);
|
_topMostRecord.AddOrUpdate(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue