Browse Source

Fixed focus thingy

flabbet 3 years ago
parent
commit
c82abc4866
1 changed files with 1 additions and 0 deletions
  1. 1 0
      PixiEditor/Helpers/Behaviours/TextBoxFocusBehavior.cs

+ 1 - 0
PixiEditor/Helpers/Behaviours/TextBoxFocusBehavior.cs

@@ -107,6 +107,7 @@ namespace PixiEditor.Helpers.Behaviours
         {
             if (DeselectOnFocusLoss)
                 AssociatedObject.Select(0, 0);
+            RemoveFocus();
         }
 
         private void AssociatedObjectPreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)