summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-07-22 08:29:35 -0400
committerGitHub <noreply@github.com>2024-07-22 15:29:35 +0300
commit7ebbc58ae310b5c41efb3fe1460d63663ab92004 (patch)
tree031d0ad22e888a646ff20557854012574d1cd328 /indra/llui
parent8a3c9a0b9d3bdf193b49f7f82378558c275948a6 (diff)
Cache various frequently accessed settings (#2080)
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lllayoutstack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp
index 7ee31ebd00..3a3aa7e4df 100644
--- a/indra/llui/lllayoutstack.cpp
+++ b/indra/llui/lllayoutstack.cpp
@@ -209,7 +209,7 @@ LLLayoutStack::Params::Params()
open_time_constant("open_time_constant", 0.02f),
close_time_constant("close_time_constant", 0.03f),
resize_bar_overlap("resize_bar_overlap", 1),
- border_size("border_size", LLCachedControl<S32>(*LLUI::getInstance()->mSettingGroups["config"], "UIResizeBarHeight", 0)),
+ border_size("border_size", LLUI::getInstance()->mSettingGroups["config"]->getS32("UIResizeBarHeight")),
show_drag_handle("show_drag_handle", false),
drag_handle_first_indent("drag_handle_first_indent", 0),
drag_handle_second_indent("drag_handle_second_indent", 0),