mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
ca5f37850e
commit
82ce068972
16 changed files with 86 additions and 80 deletions
|
@ -83,7 +83,7 @@ export class SceneHistory {
|
|||
}
|
||||
|
||||
undoOnce(): Result | null {
|
||||
if (this.stateHistory.length === 0) {
|
||||
if (this.stateHistory.length === 1) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue