mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Profile editor - Added back hotkeys for the tools
Profile editor - Fixed hotkeys not always working
This commit is contained in:
1 parent
f985682e78
commit
543b62a715
16 files changed
+106
-38
No files matched your search
@@ -34,4 +34,13 @@ public class ArtemisKeyboardKeyEventArgs : EventArgs
|
||||
/// Gets the modifiers that are pressed
|
||||
/// </summary>
|
||||
public KeyboardModifierKey Modifiers { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a hotkey matching the event.
|
||||
/// </summary>
|
||||
/// <returns>The resulting hotkey.</returns>
|
||||
public Hotkey ToHotkey()
|
||||
{
|
||||
return new Hotkey {Key = Key, Modifiers = Modifiers};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user