diff options
author | Kelly Washington <kelly@lindenlab.com> | 2012-11-12 15:38:58 -0800 |
---|---|---|
committer | Kelly Washington <kelly@lindenlab.com> | 2012-11-12 15:38:58 -0800 |
commit | c5f6ff43da6a7cf5a20c61c16ba0c7aaaeb5687f (patch) | |
tree | 5d1232de9cd08e494d3b1dafe01fb2a6da74aea0 /indra/llui/llcombobox.cpp | |
parent | 6a947c80c316230093d45c40926ba202ba1a5cc1 (diff) |
MAINT-1897 Poor performance viewing large group member lists
* Improve draw performance of scroll lists by only drawing what is visible
* Reduce frequency of expensive column width calculations
Fixes by Richard
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r-- | indra/llui/llcombobox.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index 806d2ef3f6..41e5d74042 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -563,8 +563,7 @@ void LLComboBox::showList() S32 min_width = getRect().getWidth(); S32 max_width = llmax(min_width, MAX_COMBO_WIDTH); // make sure we have up to date content width metrics - mList->calcColumnWidths(); - S32 list_width = llclamp(mList->getMaxContentWidth(), min_width, max_width); + S32 list_width = llclamp(mList->calcMaxContentWidth(), min_width, max_width); if (mListPosition == BELOW) { |