Skip to content

Commit 909c136

Browse files
committed
[fabric] More cursor fixes
1 parent b014894 commit 909c136

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-native/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ - (void)invalidateLayer
799799
// Stage 1.5. Cursor / Hover Effects
800800
if (@available(iOS 17.0, *)) {
801801
UIHoverStyle *hoverStyle = nil;
802-
if (_props->cursor.value() == Cursor::Pointer) {
802+
if (_props->cursor == Cursor::Pointer) {
803803
const RCTCornerInsets cornerInsets =
804804
RCTGetCornerInsets(RCTCornerRadiiFromBorderRadii(borderMetrics.borderRadii), UIEdgeInsetsZero);
805805
#if TARGET_OS_IOS

packages/react-native/ReactCommon/react/renderer/components/view/primitives.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ enum class Cursor : uint8_t {
127127
SouthResize,
128128
Text,
129129
VerticalText,
130-
WestResize
130+
WestResize,
131131
};
132132
// macOS] [visionOS]
133133

0 commit comments

Comments
 (0)