🎨 Partially refresh the interface after data synchronization https://github.com/siyuan-note/siyuan/issues/8098

This commit is contained in:
Liang Ding 2023-04-25 15:39:57 +08:00
parent bd2e2c78bc
commit 9bfc7846cd
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -46,7 +46,7 @@ var IsUILoaded = false
func WaitForUILoaded() {
for !IsUILoaded {
logging.LogInfof("waiting for UI loading...")
time.Sleep(time.Second)
time.Sleep(200 * time.Millisecond)
}
}
@ -56,7 +56,7 @@ func HookUILoaded() {
IsUILoaded = true
return
}
time.Sleep(time.Second)
time.Sleep(200 * time.Millisecond)
}
}