Missed a clay.MakeString

This commit is contained in:
FourteenBrush 2024-08-31 21:14:07 +02:00
parent 39b78c70cc
commit e6fca614fa
No known key found for this signature in database
GPG Key ID: DF8312C105596025

View File

@ -106,7 +106,7 @@ CreateLayout :: proc() -> clay.ClayArray(clay.RenderCommand) {
clay.Layout({sizing = {width = clay.SizingFixed(60), height = clay.SizingFixed(60)}}),
clay.ImageConfig({imageData = &profilePicture, sourceDimensions = {height = 60, width = 60}}),
) {}
clay.Text(clay.ID("ProfileTitle"), clay.MakeString("Clay - UI Library"), clay.TextConfig({fontSize = 24, textColor = {255, 255, 255, 255}}))
clay.Text(clay.ID("ProfileTitle"), "Clay - UI Library", clay.TextConfig({fontSize = 24, textColor = {255, 255, 255, 255}}))
}
// Standard Odin code like loops etc work inside components