mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
[QuickAccent]Add option to not activate when in game mode (#30983)
* [Quick Accent] Do not activate on game mode * Fix XAML styling * Fix idl syntax error * [Quick Accent] Fix game mode options not working
This commit is contained in:
@@ -165,6 +165,24 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool DoNotActivateOnGameMode
|
||||
{
|
||||
get
|
||||
{
|
||||
return _powerAccentSettings.Properties.DoNotActivateOnGameMode;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (value != _powerAccentSettings.Properties.DoNotActivateOnGameMode)
|
||||
{
|
||||
_powerAccentSettings.Properties.DoNotActivateOnGameMode = value;
|
||||
OnPropertyChanged(nameof(DoNotActivateOnGameMode));
|
||||
RaisePropertyChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private int _inputTimeMs = PowerAccentSettings.DefaultInputTimeMs;
|
||||
|
||||
public int InputTimeMs
|
||||
|
||||
Reference in New Issue
Block a user