mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve dynamic anchor text and ref count auto-refresh stability https://github.com/siyuan-note/siyuan/issues/8234
This commit is contained in:
parent
68c1fc8928
commit
43867e0855
2 changed files with 4 additions and 3 deletions
|
|
@ -262,8 +262,8 @@ func PushSetRefDynamicText(rootID, blockID, defBlockID, refText string) {
|
|||
BroadcastByType("main", "setRefDynamicText", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "defBlockID": defBlockID, "refText": refText})
|
||||
}
|
||||
|
||||
func PushSetDefRefCount(rootID, blockID string, refCount, rootRefCount int) {
|
||||
BroadcastByType("main", "setDefRefCount", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "refCount": refCount, "rootRefCount": rootRefCount})
|
||||
func PushSetDefRefCount(rootID, blockID string, refIDs []string, refCount, rootRefCount int) {
|
||||
BroadcastByType("main", "setDefRefCount", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "refCount": refCount, "rootRefCount": rootRefCount, "refIDs": refIDs})
|
||||
}
|
||||
|
||||
func PushProtyleLoading(rootID, msg string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue