Skip to content

Commit

Permalink
Line height
Browse files Browse the repository at this point in the history
  • Loading branch information
nicbarker committed Oct 7, 2024
1 parent 794c506 commit fad1f53
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Binary file modified bindings/odin/clay-odin/linux/clay.a
Binary file not shown.
Binary file modified bindings/odin/clay-odin/macos-arm64/clay.a
Binary file not shown.
Binary file modified bindings/odin/clay-odin/macos/clay.a
Binary file not shown.
Binary file modified bindings/odin/clay-odin/wasm/clay.o
Binary file not shown.
Binary file modified bindings/odin/clay-odin/windows/clay.lib
Binary file not shown.
8 changes: 4 additions & 4 deletions clay.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ typedef struct
uint16_t fontId;
uint16_t fontSize;
uint16_t letterSpacing;
uint16_t lineSpacing;
uint16_t lineHeight;
Clay_TextElementConfigWrapMode wrapMode;
#ifdef CLAY_EXTEND_CONFIG_TEXT
CLAY_EXTEND_CONFIG_TEXT
Expand Down Expand Up @@ -2945,9 +2945,9 @@ void Clay__RenderDebugView() {
// .fontId
CLAY_TEXT(CLAY_STRING("Font ID"), infoTitleConfig);
CLAY_TEXT(Clay__IntToString(textConfig->fontId), infoTextConfig);
// .lineSpacing
CLAY_TEXT(CLAY_STRING("Line Spacing"), infoTitleConfig);
CLAY_TEXT(Clay__IntToString(textConfig->lineSpacing), infoTextConfig);
// .lineHeight
CLAY_TEXT(CLAY_STRING("Line Height"), infoTitleConfig);
CLAY_TEXT(Clay__IntToString(textConfig->lineHeight), infoTextConfig);
// .letterSpacing
CLAY_TEXT(CLAY_STRING("Letter Spacing"), infoTitleConfig);
CLAY_TEXT(Clay__IntToString(textConfig->letterSpacing), infoTextConfig);
Expand Down

0 comments on commit fad1f53

Please sign in to comment.