react-native-macos 0.71.14 → 0.71.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTTouchHandler.m +2 -0
- package/React/Base/RCTUIKit.h +2 -2
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/template/package.json +1 -1
|
@@ -232,6 +232,8 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
|
|
|
232
232
|
CGPoint rootViewLocation = [_cachedRootView.window.contentView convertPoint:location toView:_cachedRootView];
|
|
233
233
|
NSView *touchView = _touchViews[touchIndex];
|
|
234
234
|
CGPoint touchViewLocation = [touchView convertPoint:location fromView:nil];
|
|
235
|
+
// JavaScript expects coordinates to have (0,0) at top left, unlike the macOS coordinate system
|
|
236
|
+
rootViewLocation.y = NSHeight([[_cachedRootView window] frame]) - rootViewLocation.y;
|
|
235
237
|
#endif // macOS]
|
|
236
238
|
|
|
237
239
|
NSMutableDictionary *reactTouch = _reactTouches[touchIndex];
|
package/React/Base/RCTUIKit.h
CHANGED
|
@@ -395,8 +395,8 @@ CGPathRef UIBezierPathCreateCGPathRef(UIBezierPath *path);
|
|
|
395
395
|
|
|
396
396
|
- (void)setNeedsDisplay;
|
|
397
397
|
|
|
398
|
-
//
|
|
399
|
-
@property
|
|
398
|
+
// FUTURE: When Xcode 14 is no longer supported (CI is building with Xcode 15), we can remove this override since it's now declared on NSView
|
|
399
|
+
@property BOOL clipsToBounds;
|
|
400
400
|
@property (nonatomic, copy) NSColor *backgroundColor;
|
|
401
401
|
@property (nonatomic) CGAffineTransform transform;
|
|
402
402
|
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED