mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 05:08:04 +00:00
fix up clay_sizingaxis typedef
This commit is contained in:
parent
13be8d6294
commit
d1a0a8dc91
4
clay.h
4
clay.h
@ -243,13 +243,13 @@ CLAY__TYPEDEF(Clay_SizingMinMax, struct {
|
|||||||
float max;
|
float max;
|
||||||
});
|
});
|
||||||
|
|
||||||
typedef struct {
|
CLAY__TYPEDEF(Clay_SizingAxis, struct {
|
||||||
union {
|
union {
|
||||||
Clay_SizingMinMax minMax;
|
Clay_SizingMinMax minMax;
|
||||||
float percent;
|
float percent;
|
||||||
} size;
|
} size;
|
||||||
Clay__SizingType type;
|
Clay__SizingType type;
|
||||||
} Clay_SizingAxis;
|
});
|
||||||
|
|
||||||
CLAY__TYPEDEF(Clay_Sizing, struct {
|
CLAY__TYPEDEF(Clay_Sizing, struct {
|
||||||
Clay_SizingAxis width;
|
Clay_SizingAxis width;
|
||||||
|
Loading…
Reference in New Issue
Block a user