()
| 33 | } |
| 34 | |
| 35 | get canUndo () { |
| 36 | if (this.markFirstStopPoint === null) { |
| 37 | return this.undoCommandStack.length > 0 |
| 38 | } else { |
| 39 | return this.undoCommandStack.length > this.markFirstStopPoint |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | // We need to store commands that we can play forward separate from commands we |
| 44 | // use to undo state. This allows us to navigate backwards and reconstruct the |
nothing calls this directly
no outgoing calls
no test coverage detected