don't stop clock when changing visibility

This commit is contained in:
2023-11-10 20:37:57 +01:00
parent 3308be84c8
commit 712b68e599

View File

@ -23,7 +23,6 @@ export const saveBeforeExit = (app: Editor): null => {
app.currentFile().candidate = app.view.state.doc.toString(); app.currentFile().candidate = app.view.state.doc.toString();
app.currentFile().committed = app.view.state.doc.toString(); app.currentFile().committed = app.view.state.doc.toString();
app.settings.saveApplicationToLocalStorage(app.universes, app.settings); app.settings.saveApplicationToLocalStorage(app.universes, app.settings);
app.clock.stop();
return null; return null;
}; };