Added workaround for invalidation issue in pan/zoom elements

This commit is contained in:
Robert committed 2023-06-10 13:23:38 +02:00
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();
}