SetValue(Value()) is a no op, and we need to invalidate a bit more than

that, anyway. This should fix the broken resize behaviour of the slider
(as, for example, seen in DiskProbe).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16689 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-03-10 14:39:53 +00:00
parent 1e766d4688
commit 36e7c9a636

View File

@ -407,8 +407,7 @@ BSlider::FrameResized(float w,float h)
}
#endif
SetValue(Value());
// virtual
Invalidate();
}