MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

add pointer lock to Fullscreen #244

Closed caseyyee closed 8 years ago

caseyyee commented 8 years ago

When in Fullscreen VR mode, the system mouse cursor is still active and will trigger inadvertent interactions with content (ie. hover, active states on elements).
This also hides the cursor appropriately on start as well.

caseyyee commented 8 years ago

@cvan moved into another function.

cvan commented 8 years ago

you might be able to remove this style now

cvan commented 8 years ago

this works beautifully!! thanks for fixing this :+1:

cvan commented 8 years ago

r+wc ✌

caseyyee commented 8 years ago

Cool thanks @cvan !