mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Make two separate yoga targets for QE
Reviewed By: emilsjolander Differential Revision: D7059278 fbshipit-source-id: dd11b018edc8ea930d5eba09c6c01e349bb8b63c
This commit is contained in:
1 parent
006b77f1ae
commit
af9d6479e5
3 files changed
+12
-2
No files matched your search
@@ -11,6 +11,8 @@ public class YogaConstants {
|
||||
|
||||
public static final float UNDEFINED = Float.NaN;
|
||||
|
||||
public static boolean shouldUseFastMath = false;
|
||||
|
||||
public static boolean isUndefined(float value) {
|
||||
return Float.compare(value, UNDEFINED) == 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user