mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-19 04:38:01 +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;
|
||||
});
|
||||
|
||||
typedef struct {
|
||||
CLAY__TYPEDEF(Clay_SizingAxis, struct {
|
||||
union {
|
||||
Clay_SizingMinMax minMax;
|
||||
float percent;
|
||||
} size;
|
||||
Clay__SizingType type;
|
||||
} Clay_SizingAxis;
|
||||
});
|
||||
|
||||
CLAY__TYPEDEF(Clay_Sizing, struct {
|
||||
Clay_SizingAxis width;
|
||||
|
Loading…
Reference in New Issue
Block a user