Ruben 1 месяц назад
Родитель
Сommit
7f961c60b5
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      src/PicView.Avalonia/CustomControls/KeybindTextBox.cs

+ 5 - 0
src/PicView.Avalonia/CustomControls/KeybindTextBox.cs

@@ -101,6 +101,11 @@ public class KeybindTextBox : TextBox
         }
     }
 
+    protected override void OnKeyDown(KeyEventArgs e)
+    {
+        // Disable keyboard behavior #248
+    }
+
     private void OnGotFocus(object? sender, GotFocusEventArgs e)
     {
         if (IsReadOnly)