mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-19 04:38:01 +00:00
Expose getter for max element counts
This commit is contained in:
parent
7af2d128c9
commit
16ed00b184
2
clay.h
2
clay.h
@ -3488,7 +3488,7 @@ void Clay_SetMaxElementCount(int32_t maxElementCount) {
|
|||||||
context->maxElementCount = maxElementCount;
|
context->maxElementCount = maxElementCount;
|
||||||
} else {
|
} else {
|
||||||
Clay__defaultMaxElementCount = maxElementCount; // TODO: Fix this
|
Clay__defaultMaxElementCount = maxElementCount; // TODO: Fix this
|
||||||
Clay__defaultMaxMeasureTextWordCacheCount = maxElementCount * 2;
|
Clay__defaultMaxMeasureTextWordCacheCount = maxElementCount * 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user