sawhney17 3 лет назад
Родитель
Сommit
5a264fad24
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      tldraw/packages/core/src/lib/TLHistory.ts

+ 0 - 1
tldraw/packages/core/src/lib/TLHistory.ts

@@ -64,7 +64,6 @@ export class TLHistory<S extends TLShape = TLShape, K extends TLEventMap = TLEve
     if (this.isPaused) return
     if (this.app.selectedTool.currentState.id !== 'idle') return
     if (this.pointer < this.stack.length - 1) {
-      this.pointer++
       this.pointer++
       const snapshot = this.stack[this.pointer]
       this.deserialize(snapshot)