Update odin bindings for CLAY_ID_LOCAL

This commit is contained in:
Nic Barker 2024-09-28 15:49:43 +12:00
parent 5e7c4c41eb
commit 21d9f06a47
7 changed files with 8 additions and 3 deletions

View file

@ -84,7 +84,7 @@ Clay_LayoutConfig sidebarItemLayout = (Clay_LayoutConfig) {
// Re-useable components are just normal functions
void SidebarItemComponent(int index) {
CLAY_RECTANGLE(CLAY_IDI("SidebarBlob", index), sidebarItemLayout, CLAY_RECTANGLE_CONFIG(.color = COLOR_ORANGE)) {};
CLAY_RECTANGLE(CLAY_IDI("SidebarBlob", index), sidebarItemLayout, CLAY_RECTANGLE_CONFIG(.color = COLOR_ORANGE)) {}
}
// An example function to begin the "root" of your layout tree