Skip to content

Commit

Permalink
clear stack on reject
Browse files Browse the repository at this point in the history
  • Loading branch information
canonic-epicure committed Jul 15, 2020
1 parent 96ce4fa commit 08b0093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chrono2/graph/Graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ export class ChronoGraph extends Base implements Owner {
this.undoTo(this.immutable, this.immutable.previous)

this.immutable = this.immutable.previous

this.stack.clear()
}


Expand Down

0 comments on commit 08b0093

Please sign in to comment.