Skip to content

Commit

Permalink
Remove check for pointer out (#15255)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaananW committed Jul 10, 2024
1 parent 2afe025 commit 64f370f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/gui/src/2D/controls/control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ export class Control implements IAnimatable, IFocusableControl {
* @internal
*/
public _onPointerOut(target: Control, pi: Nullable<PointerInfoBase>, force = false): void {
if (!force && (!this._isEnabled || target === this)) {
if (!force && !this._isEnabled) {
return;
}
this._enterCount = 0;
Expand Down

0 comments on commit 64f370f

Please sign in to comment.