mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 01:21:41 +08:00
fix-#1037 (#1112)
This commit is contained in:
parent
0de196cc65
commit
165e8985b0
@ -277,6 +277,8 @@
|
||||
currentFile: function (value, oldValue) {
|
||||
if (value && value !== oldValue) {
|
||||
this.scrollToCursor(0)
|
||||
// Hide float tools if needed.
|
||||
this.editor && this.editor.hideAllFloatTools()
|
||||
}
|
||||
},
|
||||
sourceCode: function (value, oldValue) {
|
||||
|
Loading…
Reference in New Issue
Block a user