mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 01:00:44 +02:00
eslint fix
This commit is contained in:
parent
8bb6bb7c6f
commit
ff4c194756
1 changed files with 2 additions and 3 deletions
|
@ -1409,12 +1409,11 @@ function MyController(hand) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var pointerEvent;
|
||||||
if (rayPickInfo.entityID && Entities.wantsHandControllerPointerEvents(rayPickInfo.entityID)) {
|
if (rayPickInfo.entityID && Entities.wantsHandControllerPointerEvents(rayPickInfo.entityID)) {
|
||||||
entity = rayPickInfo.entityID;
|
entity = rayPickInfo.entityID;
|
||||||
name = entityPropertiesCache.getProps(entity).name;
|
name = entityPropertiesCache.getProps(entity).name;
|
||||||
|
|
||||||
var pointerEvent;
|
|
||||||
|
|
||||||
if (Entities.keyboardFocusEntity != entity) {
|
if (Entities.keyboardFocusEntity != entity) {
|
||||||
Entities.keyboardFocusEntity = entity;
|
Entities.keyboardFocusEntity = entity;
|
||||||
|
|
||||||
|
@ -1464,7 +1463,7 @@ function MyController(hand) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (this.hoverEntity) {
|
} else if (this.hoverEntity) {
|
||||||
var pinterEvent = {
|
pointerEvent = {
|
||||||
type: "Move",
|
type: "Move",
|
||||||
id: this.hand + 1
|
id: this.hand + 1
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue