From 712b68e599739f9dd172aa4f3679bc915898522d Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Fri, 10 Nov 2023 20:37:57 +0100 Subject: [PATCH] don't stop clock when changing visibility --- src/WindowBehavior.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/WindowBehavior.ts b/src/WindowBehavior.ts index b829e3f..08f62ca 100644 --- a/src/WindowBehavior.ts +++ b/src/WindowBehavior.ts @@ -23,7 +23,6 @@ export const saveBeforeExit = (app: Editor): null => { app.currentFile().candidate = app.view.state.doc.toString(); app.currentFile().committed = app.view.state.doc.toString(); app.settings.saveApplicationToLocalStorage(app.universes, app.settings); - app.clock.stop(); return null; };