mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
use float for clicked value in mod.js
This commit is contained in:
parent
f02f619597
commit
fa9199c419
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ function controllerComputePickRay(hand) {
|
|||
|
||||
function makeClickHandler(hand) {
|
||||
return function(clicked) {
|
||||
if (clicked && isShowingOverlays) {
|
||||
if (clicked == 1.0 && isShowingOverlays) {
|
||||
var pickRay = controllerComputePickRay(hand);
|
||||
if (pickRay) {
|
||||
var overlayIntersection = Overlays.findRayIntersection(pickRay);
|
||||
|
|
Loading…
Reference in a new issue