react-native-macos 0.68.59 → 0.68.60
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 +4 -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/Gemfile.lock +3 -3
- package/template/package.json +1 -1
|
@@ -224,8 +224,10 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
|
|
|
224
224
|
#else // [TODO(macOS GH#774)
|
|
225
225
|
NSEvent *nativeTouch = _nativeTouches[touchIndex];
|
|
226
226
|
CGPoint location = nativeTouch.locationInWindow;
|
|
227
|
-
|
|
228
|
-
CGPoint
|
|
227
|
+
RCTAssert(_cachedRootView, @"We were unable to find a root view for the touch");
|
|
228
|
+
CGPoint rootViewLocation = [_cachedRootView.window.contentView convertPoint:location toView:_cachedRootView];
|
|
229
|
+
NSView *touchView = _touchViews[touchIndex];
|
|
230
|
+
CGPoint touchViewLocation = [touchView convertPoint:location fromView:nil];
|
|
229
231
|
#endif // ]TODO(macOS GH#774)
|
|
230
232
|
|
|
231
233
|
NSMutableDictionary *reactTouch = _reactTouches[touchIndex];
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
package/template/Gemfile.lock
CHANGED
|
@@ -65,8 +65,8 @@ GEM
|
|
|
65
65
|
httpclient (2.8.3)
|
|
66
66
|
i18n (1.12.0)
|
|
67
67
|
concurrent-ruby (~> 1.0)
|
|
68
|
-
json (2.6.
|
|
69
|
-
minitest (5.
|
|
68
|
+
json (2.6.3)
|
|
69
|
+
minitest (5.17.0)
|
|
70
70
|
molinillo (0.8.0)
|
|
71
71
|
nanaimo (0.3.0)
|
|
72
72
|
nap (1.1.0)
|
|
@@ -97,4 +97,4 @@ RUBY VERSION
|
|
|
97
97
|
ruby 3.0.4p208
|
|
98
98
|
|
|
99
99
|
BUNDLED WITH
|
|
100
|
-
2.3.
|
|
100
|
+
2.3.24
|