Skip to content

Commit

Permalink
Fabric: Resonable default values for LayoutConstraints members
Browse files Browse the repository at this point in the history
Summary: Trivial.

Reviewed By: mdvacca

Differential Revision: D7857046

fbshipit-source-id: 88400f1831bf66ccd3d880ddf1de3df27287b5be
  • Loading branch information
shergin authored and facebook-github-bot committed May 9, 2018
1 parent a879842 commit e052685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReactCommon/fabric/core/layout/LayoutConstraints.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ namespace react {
* Unified layout constraints for measuring.
*/
struct LayoutConstraints {
Size minimumSize;
Size maximumSize;
Size minimumSize {0, 0};
Size maximumSize {kFloatUndefined, kFloatUndefined};
LayoutDirection layoutDirection;
};

Expand Down

0 comments on commit e052685

Please sign in to comment.