[yoga] Replace float with double
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
#include <yoga/Yoga.h>
|
||||
|
||||
struct _MeasureConstraint {
|
||||
float width;
|
||||
double width;
|
||||
YGMeasureMode widthMode;
|
||||
float height;
|
||||
double height;
|
||||
YGMeasureMode heightMode;
|
||||
};
|
||||
|
||||
@@ -23,9 +23,9 @@ struct _MeasureConstraintList {
|
||||
|
||||
static YGSize _measure(
|
||||
YGNodeRef node,
|
||||
float width,
|
||||
double width,
|
||||
YGMeasureMode widthMode,
|
||||
float height,
|
||||
double height,
|
||||
YGMeasureMode heightMode) {
|
||||
struct _MeasureConstraintList* constraintList =
|
||||
(struct _MeasureConstraintList*) node->getContext();
|
||||
|
Reference in New Issue
Block a user