Skip to content

Commit

Permalink
[fabric] More cursor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shwanton committed May 1, 2024
1 parent b014894 commit 909c136
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ - (void)invalidateLayer
// Stage 1.5. Cursor / Hover Effects
if (@available(iOS 17.0, *)) {
UIHoverStyle *hoverStyle = nil;
if (_props->cursor.value() == Cursor::Pointer) {
if (_props->cursor == Cursor::Pointer) {
const RCTCornerInsets cornerInsets =
RCTGetCornerInsets(RCTCornerRadiiFromBorderRadii(borderMetrics.borderRadii), UIEdgeInsetsZero);
#if TARGET_OS_IOS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ enum class Cursor : uint8_t {
SouthResize,
Text,
VerticalText,
WestResize
WestResize,
};
// macOS] [visionOS]

Expand Down

0 comments on commit 909c136

Please sign in to comment.