diff options
author | Kent Quirk <q@lindenlab.com> | 2010-02-16 23:36:54 -0500 |
---|---|---|
committer | Kent Quirk <q@lindenlab.com> | 2010-02-16 23:36:54 -0500 |
commit | e3a71c74e24cc052bab14544730bcd9bcef35ca8 (patch) | |
tree | 109f6c98feea64f01330960407634eee9196356b /indra/llui/llscrolllistctrl.cpp | |
parent | 69032d8d9d660de5b3c97589b7cc55dac70b153c (diff) | |
parent | 6552874c82ed5ed09cf0a4d16351cdd5c8698755 (diff) |
automated merge from viewer-2-0
Diffstat (limited to 'indra/llui/llscrolllistctrl.cpp')
-rw-r--r-- | indra/llui/llscrolllistctrl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp index 478e270c98..ac4811210b 100644 --- a/indra/llui/llscrolllistctrl.cpp +++ b/indra/llui/llscrolllistctrl.cpp @@ -1388,6 +1388,8 @@ void LLScrollListCtrl::drawItems() LLGLSUIDefault gls_ui; + F32 alpha = getDrawContext().mAlpha; + { LLLocalClipRect clip(mItemListRect); @@ -1463,7 +1465,7 @@ void LLScrollListCtrl::drawItems() bg_color = mBgReadOnlyColor.get(); } - item->draw(item_rect, fg_color, bg_color, highlight_color, mColumnPadding); + item->draw(item_rect, fg_color % alpha, bg_color% alpha, highlight_color % alpha, mColumnPadding); cur_y -= mLineHeight; } |