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