diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index bea8fbed8..115ce7533 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -129,6 +129,7 @@ func Start(width, height, scale int, title string) (actualScale int, err error) y -= rect.Get("top").Int() currentInput.mouseMove(x/scale, y/scale) }) + canvas.Call("focus") return scale, nil }