Fixed some drawing problems (only visible when fUseFillColor was used, or
when DrawBar() was overridden). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13336 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -638,6 +638,10 @@ BSlider::SetValue(int32 value)
|
|||||||
oldThumbFrame.left -= 2;
|
oldThumbFrame.left -= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// While it would be enough to do this dependent on fUseFillColor,
|
||||||
|
// that doesn't work out if DrawBar() has been overridden by a sub class
|
||||||
|
oldThumbFrame.top = BarFrame().top;
|
||||||
|
|
||||||
_SetLocation(loc);
|
_SetLocation(loc);
|
||||||
|
|
||||||
BControl::SetValue(value);
|
BControl::SetValue(value);
|
||||||
|
|||||||
Reference in New Issue
Block a user