mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 06:04:15 +00:00
Remove useless store in CSSLayout.c
Reviewed By: emilsjolander Differential Revision: D4159938 fbshipit-source-id: 8b9ff3896c0e222e8e89546881129214bc6ba566
This commit is contained in:
parent
c9c8e5ca32
commit
5aad13b691
@ -1939,12 +1939,10 @@ static void layoutNodeImpl(const CSSNodeRef node,
|
||||
|
||||
if (!CSSValueIsUndefined(child->style.maxDimensions[CSSDimensionWidth])) {
|
||||
childWidth = child->style.maxDimensions[CSSDimensionWidth];
|
||||
childWidthMeasureMode = CSSMeasureModeAtMost;
|
||||
}
|
||||
|
||||
if (!CSSValueIsUndefined(child->style.maxDimensions[CSSDimensionHeight])) {
|
||||
childHeight = child->style.maxDimensions[CSSDimensionHeight];
|
||||
childHeightMeasureMode = CSSMeasureModeAtMost;
|
||||
}
|
||||
|
||||
// If the child defines a definite size for its cross axis, there's
|
||||
|
Loading…
x
Reference in New Issue
Block a user