mirror of
https://github.com/nicbarker/clay.git
synced 2025-11-02 23:56:17 +00:00
Fix field ordering to reduce padding
This commit is contained in:
parent
be4b9109e5
commit
01c6146003
2
clay.h
2
clay.h
|
|
@ -1141,12 +1141,12 @@ typedef struct {
|
|||
Clay__LayoutElementChildren children;
|
||||
Clay__TextElementData *textElementData;
|
||||
} childrenOrTextContent;
|
||||
uint16_t floatingChildrenCount;
|
||||
Clay_Dimensions dimensions;
|
||||
Clay_Dimensions minDimensions;
|
||||
Clay_LayoutConfig *layoutConfig;
|
||||
Clay__ElementConfigArraySlice elementConfigs;
|
||||
uint32_t id;
|
||||
uint16_t floatingChildrenCount;
|
||||
} Clay_LayoutElement;
|
||||
|
||||
CLAY__ARRAY_DEFINE(Clay_LayoutElement, Clay_LayoutElementArray)
|
||||
|
|
|
|||
Loading…
Reference in a new issue