Skip to content

Commit ed1fd01

Browse files
committed
feat: add cut capability to BPMN editor
Closes #1696
1 parent 2647fb4 commit ed1fd01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/app/tabs/bpmn/BpmnEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ export class BpmnEditor extends CachedComponent {
452452
canvasFocused,
453453
close: true,
454454
copy: !!selectionLength,
455-
cut: false,
455+
cut: !!selectionLength,
456456
duplicate: canvasFocused && !!selectionLength,
457457
createElement: canvasFocused,
458458
defaultCopyCutPaste: !canvasFocused,

client/src/app/tabs/cloud-bpmn/BpmnEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export class BpmnEditor extends CachedComponent {
457457
canvasFocused,
458458
close: true,
459459
copy: !!selectionLength,
460-
cut: false,
460+
cut: !!selectionLength,
461461
duplicate: canvasFocused && !!selectionLength,
462462
createElement: canvasFocused,
463463
defaultCopyCutPaste: !canvasFocused,

0 commit comments

Comments
 (0)