mirror of
https://github.com/heyman/heynote.git
synced 2025-06-20 09:37:50 +02: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)
|
window.darkMode.set(newTheme)
|
||||||
this.systemTheme = newTheme
|
this.systemTheme = newTheme
|
||||||
|
this.$refs.editor.focus()
|
||||||
},
|
},
|
||||||
|
|
||||||
onCursorChange(e) {
|
onCursorChange(e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user