mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
eslint fix
This commit is contained in:
parent
f418457100
commit
d142c3d69b
1 changed files with 1 additions and 3 deletions
|
@ -2956,13 +2956,11 @@ function MyController(hand) {
|
|||
var intersectInfo = handLaserIntersectEntity(this.grabbedThingID, controllerLocation);
|
||||
if (intersectInfo) {
|
||||
|
||||
var max, min;
|
||||
var max;
|
||||
if (this.useFingerInsteadOfStylus && this.state === STATE_ENTITY_STYLUS_TOUCHING) {
|
||||
max = FINGER_TOUCH_MAX;
|
||||
min = FINGER_TOUCH_MIN;
|
||||
} else {
|
||||
max = WEB_STYLUS_LENGTH / 2.0 + WEB_TOUCH_Y_OFFSET;
|
||||
min = WEB_STYLUS_LENGTH / 2.0 + WEB_TOUCH_TOO_CLOSE;
|
||||
}
|
||||
|
||||
if (this.state == STATE_ENTITY_STYLUS_TOUCHING &&
|
||||
|
|
Loading…
Reference in a new issue