Skip to content

Commit

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

changelog: [internal]

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

Reviewed By: rubennorte

Differential Revision: D65040504

fbshipit-source-id: c4d52792099a5764d00c16708e400fa8a0046c93
  • Loading branch information
sammy-SC authored and facebook-github-bot committed Oct 28, 2024
1 parent e4e68db commit 8b9535f
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 8b9535f

Please sign in to comment.