From 82d6a4d4d82900b750264bf4ebdeeb7272afd1aa Mon Sep 17 00:00:00 2001 From: joni <johnfshaughnessy@gmail.com> Date: Tue, 5 Jun 2018 16:22:10 -0700 Subject: [PATCH] lint and minor bugfix --- src/components/input-configurator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input-configurator.js b/src/components/input-configurator.js index b761deefe..a5bcc0cd6 100644 --- a/src/components/input-configurator.js +++ b/src/components/input-configurator.js @@ -157,7 +157,7 @@ AFRAME.registerComponent("input-configurator", { const hand = controllerData.handedness; this.controller = controllerData.controller; this.cursor.el.setAttribute("cursor-controller", { - rayObject: this.hand === "left" ? this.data.leftControllerRayObject : this.data.rightControllerRayObject + rayObject: hand === "left" ? this.data.leftControllerRayObject : this.data.rightControllerRayObject }); } else { this.controller = null; -- GitLab