mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 10:00:48 +08:00
🎨 The outline item in the outline panel supports dragging to adjust the level and position https://github.com/siyuan-note/siyuan/issues/7957
This commit is contained in:
parent
3ec244ad09
commit
a08eaccfef
@ -139,7 +139,7 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
util.PushProtyleReload(tree.Root.ID)
|
util.PushReloadDoc(tree.Root.ID)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -216,6 +216,10 @@ func PushClearProgress() {
|
|||||||
BroadcastByType("main", "cprogress", 0, "", nil)
|
BroadcastByType("main", "cprogress", 0, "", nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func PushReloadDoc(rootID string) {
|
||||||
|
BroadcastByType("main", "reloaddoc", 0, "", rootID)
|
||||||
|
}
|
||||||
|
|
||||||
func PushProtyleReload(rootID string) {
|
func PushProtyleReload(rootID string) {
|
||||||
BroadcastByType("protyle", "reload", 0, "", rootID)
|
BroadcastByType("protyle", "reload", 0, "", rootID)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user