From e6fca614fa6edcdf530d6ed0ccd6e30d2f34add1 Mon Sep 17 00:00:00 2001 From: FourteenBrush <74827262+FourteenBrush@users.noreply.github.com> Date: Sat, 31 Aug 2024 21:14:07 +0200 Subject: [PATCH] Missed a clay.MakeString --- bindings/odin/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/odin/README.md b/bindings/odin/README.md index 7b6ce05..5e3a718 100644 --- a/bindings/odin/README.md +++ b/bindings/odin/README.md @@ -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