From e427cc7d0559353d39ed2ccf5fc77babe42d93b5 Mon Sep 17 00:00:00 2001 From: joni <johnfshaughnessy@gmail.com> Date: Fri, 11 May 2018 13:30:16 -0700 Subject: [PATCH] Fix regression in merge with master. --- src/components/cursor-controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/cursor-controller.js b/src/components/cursor-controller.js index 40f90d82e..7ae7aa529 100644 --- a/src/components/cursor-controller.js +++ b/src/components/cursor-controller.js @@ -388,6 +388,7 @@ AFRAME.registerComponent("cursor-controller", { _handlePrimaryUp: function(e) { if (e.target === this.controller || e.target === this.data.playerRig) { + this.grabStarting = false; if (this._isGrabbing() || this._isTargetOfType(TARGET_TYPE_UI)) { this.data.cursor.emit("cursor-release", e.detail); } else if (e.type !== this.data.releaseEvent) { -- GitLab