Skip to content

Commit

Permalink
#4286 - Macro: Editing grid disappears but editing mode is on
Browse files Browse the repository at this point in the history
  • Loading branch information
rrodionov91 committed Mar 21, 2024
1 parent cbcc91c commit d06fa2c
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 d06fa2c

Please sign in to comment.