summaryrefslogtreecommitdiff
path: root/indra/llui/llscrollcontainer.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-08 22:53:56 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-04-09 20:48:34 +0300
commit5f91a3faf3ef0b9d0a6c3424fff119992dc0822a (patch)
tree31fe46c41da8a3f691cbc0e456f1b5f95f039a1a /indra/llui/llscrollcontainer.cpp
parent130c50cf8d4de021f510b17fd02fcac88a67c5e6 (diff)
#5626 LLTextBase optimization
by caching string width
Diffstat (limited to 'indra/llui/llscrollcontainer.cpp')
-rw-r--r--indra/llui/llscrollcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llscrollcontainer.cpp b/indra/llui/llscrollcontainer.cpp
index df99c4f636..e36fd45bb4 100644
--- a/indra/llui/llscrollcontainer.cpp
+++ b/indra/llui/llscrollcontainer.cpp
@@ -480,6 +480,7 @@ void LLScrollContainer::calcVisibleSize( S32 *visible_width, S32 *visible_height
void LLScrollContainer::draw()
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_UI;
static LLUICachedControl<S32> scrollbar_size_control ("UIScrollbarSize", 0);
S32 scrollbar_size = (mSize == -1 ? scrollbar_size_control : mSize);