mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Profile configuration - Register hotkeys on key down #657
This commit is contained in:
parent
b4eb5e1797
commit
da123e2fe2
@ -16,5 +16,5 @@
|
||||
VerticalAlignment="Center"
|
||||
materialDesign:TextFieldAssist.HasClearButton="True"
|
||||
materialDesign:HintAssist.Hint="{Binding Hint}"
|
||||
KeyUp="{s:Action TextBoxKeyUp}"/>
|
||||
KeyDown="{s:Action TextBoxKeyDown}"/>
|
||||
</UserControl>
|
||||
@ -59,7 +59,7 @@ namespace Artemis.UI.Screens.Sidebar.Dialogs.ProfileEdit
|
||||
Hint = "Toggle hotkey";
|
||||
}
|
||||
|
||||
public void TextBoxKeyUp(object sender, KeyEventArgs e)
|
||||
public void TextBoxKeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.Key >= Key.LeftShift && e.Key <= Key.RightAlt)
|
||||
return;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 1,
|
||||
"dependencies": {
|
||||
".NETCoreApp,Version=v5.0": {
|
||||
"net5.0-windows10.0.17763": {
|
||||
"FluentValidation": {
|
||||
"type": "Direct",
|
||||
"requested": "[10.3.0, )",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user