Browse Source

Remove duplicate entries

Ruben 11 months ago
parent
commit
320170e264
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/PicView.Avalonia/CustomControls/NumTextBox.cs

+ 1 - 3
src/PicView.Avalonia/CustomControls/NumTextBox.cs

@@ -35,13 +35,11 @@ public class NumTextBox : FuncTextBox
             case Key.NumPad9:
             case Key.NumPad9:
             case Key.Back:
             case Key.Back:
             case Key.Delete:
             case Key.Delete:
-                break; // Allow numbers and basic operations
-
             case Key.Left:
             case Key.Left:
             case Key.Right:
             case Key.Right:
             case Key.Tab:
             case Key.Tab:
             case Key.OemBackTab:
             case Key.OemBackTab:
-                break; // Allow navigation keys
+                break; // Allow numbers and basic operations
 
 
             case Key.A:
             case Key.A:
             case Key.C:
             case Key.C: