Stupid bracket

This commit is contained in:
Zach Fox 2017-07-26 15:14:58 -07:00
parent 17c7e38fce
commit 1336a59b6c

View file

@ -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.