From 3f6bf25f2ed5fc5626c46a4218cc1d627ec401c2 Mon Sep 17 00:00:00 2001 From: physcik Date: Fri, 27 Mar 2026 13:52:07 +0500 Subject: String() error fix --- engine/UI/Label.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/UI/Label.go') diff --git a/engine/UI/Label.go b/engine/UI/Label.go index 9d47187..08f5943 100644 --- a/engine/UI/Label.go +++ b/engine/UI/Label.go @@ -105,7 +105,7 @@ func (base *Label) getTextHeight(position *rl.Rectangle) int32 { func (base Label) String() string { var outp, jsonErr = json.Marshal(base) if jsonErr != nil { - return fmt.Sprintf("Failed to parse settings: %s", jsonErr.Error()) + return fmt.Sprintf("Failed to parse label: %s", jsonErr.Error()) } return string(outp) } -- cgit v1.3