diff options
Diffstat (limited to 'linden/indra/llui/llscrollbar.cpp')
-rw-r--r-- | linden/indra/llui/llscrollbar.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llui/llscrollbar.cpp b/linden/indra/llui/llscrollbar.cpp index cdabda0..8940b80 100644 --- a/linden/indra/llui/llscrollbar.cpp +++ b/linden/indra/llui/llscrollbar.cpp | |||
@@ -501,6 +501,13 @@ void LLScrollbar::draw() | |||
501 | } | 501 | } |
502 | else | 502 | else |
503 | { | 503 | { |
504 | // Background | ||
505 | rounded_rect_imagep->drawSolid(mOrientation == HORIZONTAL ? SCROLLBAR_SIZE : 0, | ||
506 | mOrientation == VERTICAL ? SCROLLBAR_SIZE : 0, | ||
507 | mOrientation == HORIZONTAL ? getRect().getWidth() - 2 * SCROLLBAR_SIZE : getRect().getWidth(), | ||
508 | mOrientation == VERTICAL ? getRect().getHeight() - 2 * SCROLLBAR_SIZE : getRect().getHeight(), | ||
509 | mTrackColor); | ||
510 | |||
504 | // Thumb | 511 | // Thumb |
505 | LLRect outline_rect = mThumbRect; | 512 | LLRect outline_rect = mThumbRect; |
506 | outline_rect.stretch(2); | 513 | outline_rect.stretch(2); |