Skip to content

Commit d826187

Browse files
committed
Update odin bindings
1 parent 90b4b0d commit d826187

File tree

7 files changed

+4
-3
lines changed

7 files changed

+4
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ cmake-build-release/
33
.DS_Store
44
.idea/
55
build/
6-
node_modules/
6+
node_modules/
7+
*.dSYM

bindings/odin/clay-odin/clay.odin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ TextElementConfig :: struct {
9797
fontId: u16,
9898
fontSize: u16,
9999
letterSpacing: u16,
100-
lineSpacing: u16,
100+
lineHeight: u16,
101101
wrapMode: TextWrapMode,
102102
}
103103

@@ -234,8 +234,8 @@ LayoutConfig :: struct {
234234
sizing: Sizing,
235235
padding: Padding,
236236
childGap: u16,
237-
layoutDirection: LayoutDirection,
238237
childAlignment: ChildAlignment,
238+
layoutDirection: LayoutDirection,
239239
}
240240

241241
ClayArray :: struct($type: typeid) {
2.08 KB
Binary file not shown.
1.36 KB
Binary file not shown.
1.7 KB
Binary file not shown.
3.32 KB
Binary file not shown.
2.54 KB
Binary file not shown.

0 commit comments

Comments
 (0)