mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[QuickAccent]Add setting to sort characters by use frequency (#22847)
* [Quick Accent] add toggle switch to sort characters by usage frequency * [Quick Accent] if enabled, then sort by frequency for all toolbar triggers * [Quick Accent] add "start selection from the left" toggle switch * [Quick Accent] fix error SA1000: The keyword 'new' should not be followed by a space * Fix C# analyzer build error
This commit is contained in:
@@ -27,6 +27,12 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
[JsonPropertyName("show_description")]
|
||||
public bool ShowUnicodeDescription { get; set; }
|
||||
|
||||
[JsonPropertyName("sort_by_usage_frequency")]
|
||||
public bool SortByUsageFrequency { get; set; }
|
||||
|
||||
[JsonPropertyName("start_selection_from_the_left")]
|
||||
public bool StartSelectionFromTheLeft { get; set; }
|
||||
|
||||
public PowerAccentProperties()
|
||||
{
|
||||
ActivationKey = PowerAccentActivationKey.Both;
|
||||
@@ -35,6 +41,8 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
SelectedLang = "ALL";
|
||||
ExcludedApps = new StringProperty();
|
||||
ShowUnicodeDescription = false;
|
||||
SortByUsageFrequency = false;
|
||||
StartSelectionFromTheLeft = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user