Add android shortcuts

Fix init params issues

Fix dynamic color issues

Optimize navigator animate

Optimize window init

Optimize fab

Optimize save
This commit is contained in:
chen08209
2024-10-27 16:59:23 +08:00
parent c94f64cf78
commit 3a43dc2fe9
52 changed files with 612 additions and 460 deletions

View File

@@ -128,7 +128,7 @@ func initSocketHook() {
}
return conn.Control(func(fd uintptr) {
fdInt := int64(fd)
timeout := time.After(100 * time.Millisecond)
timeout := time.After(500 * time.Millisecond)
id := atomic.AddInt64(&fdCounter, 1)
markSocket(Fd{
@@ -145,7 +145,7 @@ func initSocketHook() {
if exists {
return
}
time.Sleep(10 * time.Millisecond)
time.Sleep(20 * time.Millisecond)
}
}
})