From e5a478cdd84b107ad0d4d921facfdd457040a960 Mon Sep 17 00:00:00 2001 From: Andrew Sampson <1297077+andrewmd5@users.noreply.github.com> Date: Fri, 15 Aug 2025 20:58:30 +0900 Subject: [PATCH] undo: textAlignment --- clay.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/clay.h b/clay.h index 8971abe..938683a 100644 --- a/clay.h +++ b/clay.h @@ -566,8 +566,6 @@ typedef struct Clay_TextRenderData { uint16_t letterSpacing; // The height of the bounding box for this line of text. uint16_t lineHeight; - // Specifies the alignment of the text within its container. - Clay_TextAlignment textAlignment; } Clay_TextRenderData; // Render command data when commandType == CLAY_RENDER_COMMAND_TYPE_RECTANGLE @@ -2900,7 +2898,6 @@ void Clay__CalculateFinalLayout(void) { .fontSize = textElementConfig->fontSize, .letterSpacing = textElementConfig->letterSpacing, .lineHeight = textElementConfig->lineHeight, - .textAlignment = textElementConfig->textAlignment, }}, .userData = textElementConfig->userData, .id = Clay__HashNumber(lineIndex, currentElement->id).id,