mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Partially refresh the interface after data synchronization https://github.com/siyuan-note/siyuan/issues/8098
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user