mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
Stupid bracket
This commit is contained in:
parent
17c7e38fce
commit
1336a59b6c
1 changed files with 5 additions and 4 deletions
|
@ -2490,10 +2490,11 @@ function MyController(hand) {
|
|||
button: "None"
|
||||
};
|
||||
|
||||
if (this.hoverEntity !== entity) {
|
||||
Entities.sendHoverLeaveEntity(this.hoverEntity, pointerEvent);
|
||||
this.hoverEntity = entity;
|
||||
Entities.sendHoverEnterEntity(this.hoverEntity, pointerEvent);
|
||||
if (this.hoverEntity !== entity) {
|
||||
Entities.sendHoverLeaveEntity(this.hoverEntity, pointerEvent);
|
||||
this.hoverEntity = entity;
|
||||
Entities.sendHoverEnterEntity(this.hoverEntity, pointerEvent);
|
||||
}
|
||||
}
|
||||
|
||||
// send mouse events for button highlights and tooltips.
|
||||
|
|
Loading…
Reference in a new issue