Give back focus to editor when toggling themes

This commit is contained in:
Jonatan Heyman 2023-01-16 21:31:52 +01:00
parent 8214bf1bbb
commit 996f5c131e

View File

@ -49,6 +49,7 @@
}
window.darkMode.set(newTheme)
this.systemTheme = newTheme
this.$refs.editor.focus()
},
onCursorChange(e) {