diff --git a/src/components/virtual-gamepad-controls.js b/src/components/virtual-gamepad-controls.js index 265dc92764fdf09b0c79a6a5e3290987bd2514af..a0d4cab4fb68b24335b1a5013e0f7622bf509ccc 100644 --- a/src/components/virtual-gamepad-controls.js +++ b/src/components/virtual-gamepad-controls.js @@ -16,12 +16,14 @@ AFRAME.registerComponent("virtual-gamepad-controls", { const leftStick = nipplejs.create({ zone: leftTouchZone, - color: "white" + color: "white", + fadeTime: 0 }); const rightStick = nipplejs.create({ zone: rightTouchZone, - color: "white" + color: "white", + fadeTime: 0 }); this.onMoveJoystickChanged = this.onMoveJoystickChanged.bind(this);