@@ -147,7 +147,7 @@ internal class IoViewModel : SubViewModel<ViewModelMain>
private void ProcessShortcutDown(bool isRepeat, Key key, KeyModifiers argsModifiers)
{
- if (argsModifiers == KeyModifiers.None)
+ if (argsModifiers == KeyModifiers.None && !isRepeat)
HandleTransientKey(key);
}
@@ -223,6 +223,7 @@ internal class ToolsViewModel : SubViewModel<ViewModelMain>, IToolsHandler
if (ActiveTool == tool)
ActiveTool.IsTransient = transient;
+ LastActionTool = ActiveTool;
return;
@@ -13,7 +13,7 @@ using PixiEditor.Views.Overlays.BrushShapeOverlay;
namespace PixiEditor.ViewModels.Tools.Tools;
-[Command.Tool(Key = Key.V)]
+[Command.Tool(Key = Key.V, Transient = Key.Space)]
internal class MoveToolViewModel : ToolViewModel, IMoveToolHandler
private string defaultActionDisplay = "MOVE_TOOL_ACTION_DISPLAY";