mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Revert D5944488: [RN][iOS]: Re-render views when direction changes
Differential Revision: D5944488 fbshipit-source-id: 79e695dcc0ea7d09544ace1525828333a5818c5a
This commit is contained in:
committed by
Facebook Github Bot
parent
9bbc70c442
commit
abed3cf6c4
@@ -84,10 +84,9 @@ typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, UIView *> *viewRegistry
|
||||
@property (nonatomic, assign, getter=isHidden) BOOL hidden;
|
||||
|
||||
/**
|
||||
* Layout direction for the view as computed in applyLayoutNode.
|
||||
* Computed layout direction for the view backed to Yoga node value.
|
||||
*/
|
||||
|
||||
@property (nonatomic, assign, readonly) UIUserInterfaceLayoutDirection layoutDirection;
|
||||
@property (nonatomic, assign, readonly) UIUserInterfaceLayoutDirection effectiveLayoutDirection;
|
||||
|
||||
/**
|
||||
* Position and dimensions.
|
||||
@@ -188,11 +187,6 @@ typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, UIView *> *viewRegistry
|
||||
*/
|
||||
@property (nonatomic, assign) CGSize intrinsicContentSize;
|
||||
|
||||
/**
|
||||
* Return the layout direction stored in the Yoga node that backs this view.
|
||||
*/
|
||||
- (UIUserInterfaceLayoutDirection)getLayoutDirectionFromYogaNode;
|
||||
|
||||
/**
|
||||
* Calculate property changes that need to be propagated to the view.
|
||||
* The applierBlocks set contains RCTApplierBlock functions that must be applied
|
||||
|
||||
Reference in New Issue
Block a user