The update region for B_VERTICAL orientation is different; it now
also works correctly when fUseFillColor is used. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13343 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a00fcbcdf8
commit
c280e11b89
|
@ -610,7 +610,10 @@ BSlider::SetValue(int32 value)
|
|||
|
||||
// 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;
|
||||
if (fOrientation == B_HORIZONTAL)
|
||||
oldThumbFrame.top = BarFrame().top;
|
||||
else
|
||||
oldThumbFrame.right = BarFrame().right;
|
||||
|
||||
_SetLocation(loc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue