mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Pass parent with down with calculateLayout to allow percentages on root node
Reviewed By: astreet Differential Revision: D4501016 fbshipit-source-id: 0c9502e86ff200c021c78afb7ac4b48cf11b3bdb
This commit is contained in:
1 parent
00efe02c5b
commit
82f61b990a
4 files changed
+8
-8
No files matched your search
@@ -20,7 +20,7 @@ public interface YogaNodeAPI<YogaNodeType extends YogaNodeAPI> {
|
||||
void setMeasureFunction(YogaMeasureFunction measureFunction);
|
||||
void setBaselineFunction(YogaBaselineFunction measureFunction);
|
||||
boolean isMeasureDefined();
|
||||
void calculateLayout();
|
||||
void calculateLayout(float width, float height);
|
||||
boolean isDirty();
|
||||
boolean hasNewLayout();
|
||||
void dirty();
|
||||
|
||||
Reference in new issue
Block a user