Skip to content

Commit

Permalink
Implement RCTCursorNone
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Aug 20, 2024
1 parent 4c0fd7f commit 0cc242c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/React/Views/RCTCursor.m
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
resolvedCursor = [NSCursor operationNotAllowedCursor];
break;
case RCTCursorNone:
// Not supported
resolvedCursor = [[NSCursor alloc] initWithImage:[[NSImage alloc] initWithSize:NSMakeSize(1, 1)] hotSpot:NSZeroPoint];
break;
case RCTCursorNotAllowed:
resolvedCursor = [NSCursor operationNotAllowedCursor];
Expand Down

0 comments on commit 0cc242c

Please sign in to comment.