Permalink
Browse files

Round size geometry for Button and RichText components.

Reviewed By: cuva

Differential Revision: D6466875

fbshipit-source-id: 62a480411e7d2354a6879917c42bbf0ee96cdadd
  • Loading branch information...
iaroslav-pavlov authored and facebook-github-bot committed Dec 7, 2017
1 parent ec2ea58 commit 4034febb7ef9d9daa894a75b038226af74026163
Showing with 6 additions and 0 deletions.
  1. +6 −0 ReactCommon/yoga/yoga/Yoga.h
@@ -274,4 +274,10 @@ WIN_EXPORT YGConfigRef YGConfigGetDefault(void);
WIN_EXPORT void YGConfigSetContext(const YGConfigRef config, void *context);
WIN_EXPORT void *YGConfigGetContext(const YGConfigRef config);
WIN_EXPORT float YGRoundValueToPixelGrid(
const float value,
const float pointScaleFactor,
const bool forceCeil,
const bool forceFloor);
YG_EXTERN_C_END

0 comments on commit 4034feb

Please sign in to comment.