mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:57:59 +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);
|
var intersectInfo = handLaserIntersectEntity(this.grabbedThingID, controllerLocation);
|
||||||
if (intersectInfo) {
|
if (intersectInfo) {
|
||||||
|
|
||||||
var max, min;
|
var max;
|
||||||
if (this.useFingerInsteadOfStylus && this.state === STATE_ENTITY_STYLUS_TOUCHING) {
|
if (this.useFingerInsteadOfStylus && this.state === STATE_ENTITY_STYLUS_TOUCHING) {
|
||||||
max = FINGER_TOUCH_MAX;
|
max = FINGER_TOUCH_MAX;
|
||||||
min = FINGER_TOUCH_MIN;
|
|
||||||
} else {
|
} else {
|
||||||
max = WEB_STYLUS_LENGTH / 2.0 + WEB_TOUCH_Y_OFFSET;
|
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 &&
|
if (this.state == STATE_ENTITY_STYLUS_TOUCHING &&
|
||||||
|
|
Loading…
Reference in a new issue