mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Added workaround for invalidation issue in pan/zoom elements
This commit is contained in:
1 parent
34824dde42
commit
2e9b3d59d6
3 files changed
+11
-1
No files matched your search
@@ -187,7 +187,7 @@ public partial class DraggableNumberBox : UserControl
|
||||
|
||||
private void HandleKeyUp(object? sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.Key == Key.Enter || e.Key == Key.Escape)
|
||||
if (e.Key is Key.Enter or Key.Escape)
|
||||
Focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user