🎨 Partially refresh the interface after data synchronization https://github.com/siyuan-note/siyuan/issues/8098
This commit is contained in:
parent
bd2e2c78bc
commit
9bfc7846cd
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue