This commit is contained in:
Daniel 2025-03-26 16:10:44 +08:00
parent 3206d718da
commit 25383ad760
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 39 additions and 2 deletions

View file

@ -275,6 +275,10 @@ func PushSetDefRefCount(rootID, blockID string, defIDs []string, refCount, rootR
BroadcastByType("main", "setDefRefCount", 0, "", map[string]interface{}{"rootID": rootID, "blockID": blockID, "refCount": refCount, "rootRefCount": rootRefCount, "defIDs": defIDs})
}
func PushLocalShorthandCount(count int) {
BroadcastByType("main", "setLocalShorthandCount", 0, "", map[string]interface{}{"count": count})
}
func PushProtyleLoading(rootID, msg string) {
BroadcastByType("protyle", "addLoading", 0, msg, rootID)
}