mirror of
https://github.com/heyman/heynote.git
synced 2025-08-13 16:37:11 +02:00
Give back focus to editor when toggling themes
This commit is contained in:
@ -49,6 +49,7 @@
|
||||
}
|
||||
window.darkMode.set(newTheme)
|
||||
this.systemTheme = newTheme
|
||||
this.$refs.editor.focus()
|
||||
},
|
||||
|
||||
onCursorChange(e) {
|
||||
|
Reference in New Issue
Block a user