editor: keep editor open when loading a session

This commit is contained in:
bordun 2021-04-27 19:22:59 +02:00
parent ff7385d516
commit acc405c100
3 changed files with 10 additions and 5 deletions

View file

@ -78,7 +78,10 @@ var SessionManager = class SessionManager extends EventEmitter {
}
}
if (editor.enabled) editor.disable()
if (editor.enabled) {
editor.disable()
editor.enable()
}
DOM.dispatchEvent(window, 'resize')