fix(keyboard): use correct lasso key
This commit is contained in:
parent
b212dae211
commit
247594dbbf
|
@ -9,15 +9,15 @@ function BpmnKeyBindings(keyboard, spaceTool, lassoTool, directEditing, selectio
|
|||
return;
|
||||
}
|
||||
|
||||
// S -> activate space tool
|
||||
// s -> activate space tool
|
||||
if (key === 83) {
|
||||
spaceTool.activateSelection();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// L -> activate lasso tool
|
||||
if (key === 108) {
|
||||
// l -> activate lasso tool
|
||||
if (key === 76) {
|
||||
lassoTool.activateSelection();
|
||||
|
||||
return true;
|
||||
|
@ -25,7 +25,7 @@ function BpmnKeyBindings(keyboard, spaceTool, lassoTool, directEditing, selectio
|
|||
|
||||
var currentSelection = selection.get();
|
||||
|
||||
// E -> activate direct editing
|
||||
// e -> activate direct editing
|
||||
if (key === 69) {
|
||||
if (currentSelection.length) {
|
||||
directEditing.activate(currentSelection[0]);
|
||||
|
|
Loading…
Reference in New Issue