feat(keyboard): key bindings toggle tools

Closes #459
This commit is contained in:
Nico Rehwaldt 2016-01-25 22:11:00 +01:00 committed by Ricardo Matias
parent 2985908357
commit 82073f2d38
1 changed files with 3 additions and 3 deletions

View File

@ -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();