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:
Axel Dörfler 2005-06-28 23:24:27 +00:00
parent b7596f59ec
commit 1d0f02b4ac
1 changed files with 4 additions and 0 deletions

View File

@ -638,6 +638,10 @@ BSlider::SetValue(int32 value)
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);
BControl::SetValue(value);