Browse Source

Update SizeInput.axaml.cs

Krzysztof Krysiński 1 year ago
parent
commit
b4a3c5f39b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/PixiEditor.AvaloniaUI/Views/Input/SizeInput.axaml.cs

+ 1 - 0
src/PixiEditor.AvaloniaUI/Views/Input/SizeInput.axaml.cs

@@ -69,6 +69,7 @@ internal partial class SizeInput : UserControl
 
 
     protected override void OnGotFocus(GotFocusEventArgs e)
     protected override void OnGotFocus(GotFocusEventArgs e)
     {
     {
+        if (input.IsFocused) return;
         FocusAndSelect();
         FocusAndSelect();
     }
     }