mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Change default search delay time to value
This commit is contained in:
parent
ade4fbf7f2
commit
c33fae959f
3 changed files with 2 additions and 2 deletions
|
|
@ -111,7 +111,6 @@
|
|||
<system:String x:Key="searchDelayToolTip">Adds a short delay while typing to reduce UI flicker and result load. Recommended if your typing speed is average.</system:String>
|
||||
<system:String x:Key="searchDelayTime">Default Search Delay Time</system:String>
|
||||
<system:String x:Key="searchDelayTimeToolTip">Wait time before showing results after typing stops. Higher values wait longer. (ms)</system:String>
|
||||
<system:String x:Key="searchDelayPlaceHolder">Default</system:String>
|
||||
|
||||
<!-- Setting Plugin -->
|
||||
<system:String x:Key="searchplugin">Search Plugin</system:String>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
IsEnabled="{Binding SearchDelayEnabled}"
|
||||
Maximum="1000"
|
||||
Minimum="0"
|
||||
PlaceholderText="{DynamicResource searchDelayPlaceHolder}"
|
||||
PlaceholderText="{Binding DefaultSearchDelay}"
|
||||
SmallChange="10"
|
||||
SpinButtonPlacementMode="Compact"
|
||||
ToolTip="{DynamicResource searchDelayToolTip}"
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ namespace Flow.Launcher.ViewModel
|
|||
App.API.GetTranslation($"SearchDelayTime{PluginPair.Metadata.SearchDelayTime}");
|
||||
public Infrastructure.UserSettings.Plugin PluginSettingsObject{ get; init; }
|
||||
public bool SearchDelayEnabled => Settings.SearchQueryResultsWithDelay;
|
||||
public string DefaultSearchDelay => Settings.SearchDelayTime.ToString();
|
||||
|
||||
public void OnActionKeywordsChanged()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue