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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// S -> activate space tool
|
// s -> activate space tool
|
||||||
if (key === 83) {
|
if (key === 83) {
|
||||||
spaceTool.activateSelection();
|
spaceTool.activateSelection();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// L -> activate lasso tool
|
// l -> activate lasso tool
|
||||||
if (key === 108) {
|
if (key === 76) {
|
||||||
lassoTool.activateSelection();
|
lassoTool.activateSelection();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -25,7 +25,7 @@ function BpmnKeyBindings(keyboard, spaceTool, lassoTool, directEditing, selectio
|
||||||
|
|
||||||
var currentSelection = selection.get();
|
var currentSelection = selection.get();
|
||||||
|
|
||||||
// E -> activate direct editing
|
// e -> activate direct editing
|
||||||
if (key === 69) {
|
if (key === 69) {
|
||||||
if (currentSelection.length) {
|
if (currentSelection.length) {
|
||||||
directEditing.activate(currentSelection[0]);
|
directEditing.activate(currentSelection[0]);
|
||||||
|
|
Loading…
Reference in New Issue