Browse Source

Fixed alt tabbing invoking color picker

Krzysztof Krysiński 3 months ago
parent
commit
c98ce27823
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/PixiEditor/ViewModels/SubViewModels/IoViewModel.cs

+ 5 - 0
src/PixiEditor/ViewModels/SubViewModels/IoViewModel.cs

@@ -199,6 +199,11 @@ internal class IoViewModel : SubViewModel<ViewModelMain>
             Owner.ToolsSubViewModel.HandleToolShortcutUp();
         }
 
+        if (shortcut.Key == queuedTransientKey)
+        {
+            queuedTransientKey = null;
+        }
+
         ShortcutController.UnblockShortcutExecution("ShortcutDown");
     }