[Bindings/Odin] Fixed incorrect assignment in README example (#533)
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
Odin Bindings Update / check_changes (push) Has been cancelled
Odin Bindings Update / build (macos-latest) (push) Has been cancelled
Odin Bindings Update / build (ubuntu-latest) (push) Has been cancelled
Odin Bindings Update / commit (push) Has been cancelled

This commit is contained in:
Isaiah Paget 2025-12-04 19:23:56 -08:00 committed by GitHub
parent 2749e56e7e
commit 389a044cd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ CLAY({ .id = CLAY_ID("Outer"), .layout = { .padding = CLAY_PADDING_ALL(16) } })
```Odin ```Odin
// Odin form of element macros // Odin form of element macros
if clay.UI()({ id = clay.ID("Outer"), layout = { padding = clay.PaddingAll(16) }}) { if clay.UI(clay.ID("Outer"))({ layout = { padding = clay.PaddingAll(16) }}) {
// Child elements here // Child elements here
} }
``` ```