mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 03:07:56 +01:00
Use atom variable in hotkey id
This commit is contained in:
@@ -63,7 +63,7 @@ namespace RunnerV2.ModuleInterfaces
|
||||
private void InitializeHotkey()
|
||||
{
|
||||
Hotkeys.Clear();
|
||||
Hotkeys.Add(((HotkeyEx)new SettingsUtils().GetSettings<AlwaysOnTopSettings>(Name).Properties.Hotkey.Value) with { Identifier = 0x1 }, () =>
|
||||
Hotkeys.Add(((HotkeyEx)new SettingsUtils().GetSettings<AlwaysOnTopSettings>(Name).Properties.Hotkey.Value) with { Identifier = _pinHotkeyAtom }, () =>
|
||||
{
|
||||
if (!_process?.HasExited ?? false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user