mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[PTRun]Fix cutting off and using previous input (#19215)
* Deselect previous selected item because it might not be valid. * fast execute non-delayed queries * Speling fixxes. * Fixed _isTextSetProgrammatically check for when PTRSearchQueryFastResultsWithDelay = false * Resoved some comments. * Added partial delay for fast plugins * Updates settings UI for second throttle value. Changed text. * 'Verbiage' update
This commit is contained in:
@@ -82,12 +82,31 @@ namespace Wox.Infrastructure.UserSettings
|
||||
|
||||
private int _searchInputDelay = 150;
|
||||
|
||||
private int _searchInputDelayFast = 30;
|
||||
|
||||
private int _searchClickedItemWeight = 5;
|
||||
|
||||
private bool _searchQueryTuningEnabled;
|
||||
|
||||
private bool _searchWaitForSlowResults;
|
||||
|
||||
public int SearchInputDelayFast
|
||||
{
|
||||
get
|
||||
{
|
||||
return _searchInputDelayFast;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (_searchInputDelayFast != value)
|
||||
{
|
||||
_searchInputDelayFast = value;
|
||||
OnPropertyChanged(nameof(SearchInputDelayFast));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int SearchInputDelay
|
||||
{
|
||||
get
|
||||
@@ -168,6 +187,13 @@ namespace Wox.Infrastructure.UserSettings
|
||||
|
||||
public string QueryBoxFontWeight { get; set; }
|
||||
|
||||
public bool PTRunNonDelayedSearchInParallel { get; set; } = true;
|
||||
|
||||
public string PTRunStartNewSearchAction { get; set; }
|
||||
|
||||
public bool PTRSearchQueryFastResultsWithDelay { get; set; }
|
||||
|
||||
// public bool PTRSearchQueryFastResultsWithPartialDelay { get; set; }
|
||||
public string QueryBoxFontStretch { get; set; }
|
||||
|
||||
public string ResultFont { get; set; } = FontFamily.GenericSansSerif.Name;
|
||||
|
||||
Reference in New Issue
Block a user