diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index ce13fb1dc..a177a6391 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -78,9 +78,7 @@ func shown() bool { func vsync() { ch := make(chan struct{}) - // As the performance is generally not good with GopehrJS, consume n 'requestAnimationFrame's - // each time. - n := 2 + n := 1 var l func() l = func() { if 0 < n {