mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fabric: Fix order of arguments in RCTEdgeInsetsFromUIEdgeInsets
Summary: Order of arguments for `RectangleEdges` was incorrect changelog: [internal] Reviewed By: shergin Differential Revision: D18231825 fbshipit-source-id: 188d7af405ce801437ff67999a8f7dae77ae03c0
This commit is contained in:
committed by
Facebook Github Bot
parent
038353b89c
commit
cd1abb3bca
@@ -111,7 +111,7 @@ inline facebook::react::Rect RCTRectFromCGRect(const CGRect &rect) {
|
||||
}
|
||||
|
||||
inline facebook::react::EdgeInsets RCTEdgeInsetsFromUIEdgeInsets(const UIEdgeInsets &edgeInsets) {
|
||||
return {edgeInsets.top, edgeInsets.left, edgeInsets.bottom, edgeInsets.right};
|
||||
return {edgeInsets.left, edgeInsets.top, edgeInsets.right, edgeInsets.bottom};
|
||||
}
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user