Use B_OP_OVER instead of B_OP_COPY on Haiku (bug #4815)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34649 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -147,7 +147,11 @@ TrackSlider::_DrawCounter(bigtime_t timestamp, float position, bool isTracking)
|
|||||||
EndLineArray();
|
EndLineArray();
|
||||||
FillRect(BRect(counterX-halfwidth-3,SLIDER_BASE-8,counterX+halfwidth+3,SLIDER_BASE));
|
FillRect(BRect(counterX-halfwidth-3,SLIDER_BASE-8,counterX+halfwidth+3,SLIDER_BASE));
|
||||||
|
|
||||||
|
#ifdef __HAIKU__
|
||||||
|
SetDrawingMode(B_OP_OVER);
|
||||||
|
#else
|
||||||
SetDrawingMode(B_OP_COPY);
|
SetDrawingMode(B_OP_COPY);
|
||||||
|
#endif
|
||||||
if (isTracking)
|
if (isTracking)
|
||||||
SetHighColor(255,255,255);
|
SetHighColor(255,255,255);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user