Use atom variable in hotkey id

This commit is contained in:
Noraa Junker
2025-11-19 23:32:31 +01:00
parent 18c335397f
commit b9c9ade9d9

View File

@@ -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)
{