Skip to content

Commit 39dc75b

Browse files
committed
fix(core-editor): run when don't paused
1 parent e1ae678 commit 39dc75b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/core-editor/src/core

packages/core-editor/src/core/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class Core {
6464
return;
6565
}
6666
const tickStart = Date.now();
67-
if (this.editor?.isPaused) await runner(tickStart - previousTick);
67+
if (!this.editor?.isPaused) await runner(tickStart - previousTick);
6868
previousTick = tickStart;
6969
setTimeout(render, tickLengthMs + tickStart - Date.now());
7070
};

0 commit comments

Comments
 (0)