Skip to content

Commit

Permalink
#4286 - Macro: Editing grid disappears but editing mode is on (#4305)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrodionov91 authored Mar 22, 2024
1 parent d54bea7 commit 549ba5b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,13 @@ export class SequenceMode extends BaseMode {
previousCaretPosition,
nodesToDelete[0][0].nodeIndexOverall,
);

if (
SequenceRenderer.caretPosition === 0 &&
SequenceRenderer.chainsCollection.chains.length === 0
) {
this.startNewSequence();
}
},
},
'turn-off-edit-mode': {
Expand Down

0 comments on commit 549ba5b

Please sign in to comment.