mirror of
https://github.com/heyman/heynote.git
synced 2024-11-21 23:43:22 +01:00
Give back focus to editor when toggling themes
This commit is contained in:
parent
8214bf1bbb
commit
996f5c131e
@ -49,6 +49,7 @@
|
||||
}
|
||||
window.darkMode.set(newTheme)
|
||||
this.systemTheme = newTheme
|
||||
this.$refs.editor.focus()
|
||||
},
|
||||
|
||||
onCursorChange(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user