Skip to content

Commit

Permalink
fix mouseEnter event (#17540)
Browse files Browse the repository at this point in the history
Co-authored-by: luckycocos <[email protected]>
  • Loading branch information
hweiwei and luckycocos authored Aug 15, 2024
1 parent 54a68f7 commit 43ae4fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cocos/scene-graph/node-event-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,12 +593,12 @@ export class NodeEventProcessor {
this.previousMouseIn = false;
_currentHovered = null;
}
return true;
return false;
}

private _handleMouseEnter (event: EventMouse): boolean {
this._isMouseLeaveWindow = false;
return true;
return false;
}

// #endregion handle mouse event
Expand Down

0 comments on commit 43ae4fc

Please sign in to comment.