Skip to content

Commit

Permalink
add missing breaks in PointerEvent (facebook#47233)
Browse files Browse the repository at this point in the history
Summary:

changelog: [internal]

This looks like a missing break statement when it was refactored in facebook#41519

Differential Revision: D65040504
  • Loading branch information
sammy-SC authored and facebook-github-bot committed Oct 28, 2024
1 parent 4192678 commit 1b8e61c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,10 @@ - (void)hovering:(UIHoverGestureRecognizer *)recognizer
switch (recognizer.state) {
case UIGestureRecognizerStateEnded:
eventEmitter->onPointerLeave(event);
break;
default:
eventEmitter->onPointerMove(event);
break;
}
}
}
Expand Down

0 comments on commit 1b8e61c

Please sign in to comment.