🎨 When multiple windows exist, each window should be isolated using the Optimize Typesetting https://github.com/siyuan-note/siyuan/issues/8216

This commit is contained in:
Liang Ding 2023-05-14 10:44:39 +08:00
parent 3edd8230d3
commit 6c3c8d44ad
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 100 additions and 87 deletions

View file

@ -214,6 +214,14 @@ func PushClearProgress() {
BroadcastByType("main", "cprogress", 0, "", nil)
}
func PushProtyleReload(rootID string) {
BroadcastByType("protyle", "reload", 0, "", rootID)
}
func PushProtyleLoading(rootID, msg string) {
BroadcastByType("protyle", "addLoadding", 0, msg, rootID)
}
func PushDownloadProgress(id string, percent float32) {
evt := NewCmdResult("downloadProgress", 0, PushModeBroadcast)
evt.Data = map[string]interface{}{