Makes Switcher icons draw with alpha transparency from the start as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21337 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
96726e7e24
commit
6677ea8715
@ -1947,8 +1947,12 @@ TIconView::DrawTeams(BRect update)
|
||||
continue;
|
||||
|
||||
if (rect.Intersects(update) && teamGroup) {
|
||||
#ifdef __HAIKU__
|
||||
SetDrawingMode(B_OP_ALPHA);
|
||||
SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_OVERLAY);
|
||||
#else
|
||||
SetDrawingMode(B_OP_OVER);
|
||||
|
||||
#endif
|
||||
teamGroup->Draw(this, rect, !fAutoScrolling && (i == mainIndex));
|
||||
|
||||
if (i == mainIndex)
|
||||
|
Loading…
Reference in New Issue
Block a user