fix hover state by emitting mouseleave when option is no longer active (fixes #1)

This commit is contained in:
Kevin Ngo
2018-09-18 01:53:05 -07:00
parent 94edcdb1d0
commit 08334b16ef
2 changed files with 4 additions and 1 deletions

View File

@@ -44,7 +44,7 @@
</a-entity>
<a-entity id="cameraRig">
<a-entity id="camera" position="0 1.6 0.5" camera look-controls></a-entity>
<a-entity id="camera" position="0 1.6 0.5" camera look-controls wasd-controls></a-entity>
<a-entity id="leftHand"
saber-controls="hand: left"
proxy-event__pause="event: menudown; to: a-scene; as: pause"