Skip to content
Snippets Groups Projects
Commit b798afb9 authored by Robert Long's avatar Robert Long
Browse files

Set fadeTime to 0 to fix most instances of the cursor getting stuck on iOS and FF Android.

parent 8d7c3b3d
No related branches found
No related tags found
No related merge requests found
...@@ -16,12 +16,14 @@ AFRAME.registerComponent("virtual-gamepad-controls", { ...@@ -16,12 +16,14 @@ AFRAME.registerComponent("virtual-gamepad-controls", {
const leftStick = nipplejs.create({ const leftStick = nipplejs.create({
zone: leftTouchZone, zone: leftTouchZone,
color: "white" color: "white",
fadeTime: 0
}); });
const rightStick = nipplejs.create({ const rightStick = nipplejs.create({
zone: rightTouchZone, zone: rightTouchZone,
color: "white" color: "white",
fadeTime: 0
}); });
this.onMoveJoystickChanged = this.onMoveJoystickChanged.bind(this); this.onMoveJoystickChanged = this.onMoveJoystickChanged.bind(this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment