mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 15:26:09 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
dc30282919
2 changed files with 5 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {
|
|||
return
|
||||
}
|
||||
|
||||
util.PushProtyleReload(tree.Root.ID)
|
||||
util.PushReloadDoc(tree.Root.ID)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -216,6 +216,10 @@ func PushClearProgress() {
|
|||
BroadcastByType("main", "cprogress", 0, "", nil)
|
||||
}
|
||||
|
||||
func PushReloadDoc(rootID string) {
|
||||
BroadcastByType("main", "reloaddoc", 0, "", rootID)
|
||||
}
|
||||
|
||||
func PushProtyleReload(rootID string) {
|
||||
BroadcastByType("protyle", "reload", 0, "", rootID)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue