summaryrefslogtreecommitdiff
path: root/indra/llui/llscrolllistcell.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-07-19 20:07:03 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-07-19 20:07:03 +0300
commit928191f525cf8a02816718eefd9a65097d8ecb8b (patch)
tree31634f316e31c469104129b0b8b49ba6ca71b8bb /indra/llui/llscrolllistcell.cpp
parent84ae60a3b34d92930a74e9207bf39e6335e307a0 (diff)
SL-15297 performance floater UI update #2
Diffstat (limited to 'indra/llui/llscrolllistcell.cpp')
-rw-r--r--indra/llui/llscrolllistcell.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llui/llscrolllistcell.cpp b/indra/llui/llscrolllistcell.cpp
index c5f53823f3..61470d1440 100644
--- a/indra/llui/llscrolllistcell.cpp
+++ b/indra/llui/llscrolllistcell.cpp
@@ -234,8 +234,7 @@ void LLScrollListBar::draw(const LLColor4& color, const LLColor4& highlight_colo
S32 left = bar_width - bar_width * mRatio;
left = llclamp(left, mLeftPad, getWidth() - mRightPad - 1);
- gl_line_2d(left, mBottom, getWidth() - mRightPad, mBottom, mColor);
- gl_line_2d(left, mBottom - 1, getWidth() - mRightPad, mBottom - 1, mColor);
+ gl_rect_2d(left, mBottom, getWidth() - mRightPad, mBottom - 1, mColor);
}
//