diff --git a/internal/uidriver/js/ui.go b/internal/uidriver/js/ui.go index 316065085..d8a8b6be1 100644 --- a/internal/uidriver/js/ui.go +++ b/internal/uidriver/js/ui.go @@ -124,7 +124,7 @@ func (u *UserInterface) adjustPosition(x, y int) (int, int) { } func (u *UserInterface) CursorMode() driver.CursorMode { - if u.IsCursorVisible { + if canvas.Get("style").Get("cursor").String() != "none" { return driver.CursorModeVisible } else { return driver.CursorModeHidden