diff --git a/src/utils/gearvr-mouse-events-handler.js b/src/utils/gearvr-mouse-events-handler.js index 6f00064696ffc33a1209618aa0eddbe57ab5d19a..7e614ab156d8ab21e5931803a0f1ee4f5b2f320b 100644 --- a/src/utils/gearvr-mouse-events-handler.js +++ b/src/utils/gearvr-mouse-events-handler.js @@ -42,6 +42,8 @@ export default class GearVRMouseEventsHandler { return; } + this.cursor.setCursorVisibility(false); + const button = this.gazeTeleporter.data.button; this.gazeTeleporter.el.emit(button + "down"); this.isMouseDownHandledByGazeTeleporter = true; @@ -53,6 +55,8 @@ export default class GearVRMouseEventsHandler { this.isMouseDownHandledByCursor = false; } + this.cursor.setCursorVisibility(true); + if (this.isMouseDownHandledByGazeTeleporter) { const button = this.gazeTeleporter.data.button; this.gazeTeleporter.el.emit(button + "up");