From 82073f2d382b2daf2bc6601d207b26931df85839 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Mon, 25 Jan 2016 22:11:00 +0100 Subject: [PATCH] feat(keyboard): key bindings toggle tools Closes #459 --- lib/features/keyboard/BpmnKeyBindings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/features/keyboard/BpmnKeyBindings.js b/lib/features/keyboard/BpmnKeyBindings.js index 65b9e7ce..01aabf5c 100644 --- a/lib/features/keyboard/BpmnKeyBindings.js +++ b/lib/features/keyboard/BpmnKeyBindings.js @@ -16,13 +16,13 @@ function BpmnKeyBindings(keyboard, spaceTool, lassoTool, handTool, directEditing selection.select(elements); }, spaceTool: function() { - spaceTool.activateSelection(); + spaceTool.toggle(); }, lassoTool: function() { - lassoTool.activateSelection(); + lassoTool.toggle(); }, handTool: function() { - handTool.activateHand(); + handTool.toggle(); }, directEditing: function() { var currentSelection = selection.get();