From 16ed00b184bc36be7c84db26698a9c31a1f7a348 Mon Sep 17 00:00:00 2001 From: Nic Barker <contact+github@nicbarker.com> Date: Thu, 9 Jan 2025 12:21:20 +1300 Subject: [PATCH] Expose getter for max element counts --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index abe1ccd..10213c0 100644 --- a/clay.h +++ b/clay.h @@ -3488,7 +3488,7 @@ void Clay_SetMaxElementCount(int32_t maxElementCount) { context->maxElementCount = maxElementCount; } else { Clay__defaultMaxElementCount = maxElementCount; // TODO: Fix this - Clay__defaultMaxMeasureTextWordCacheCount = maxElementCount * 2; + Clay__defaultMaxMeasureTextWordCacheCount = maxElementCount * 2; } }