Set the initial level based on where we first click. Should fix ticket #3586.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29625 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2009-03-20 18:52:57 +00:00
parent 41464387bd
commit ad6da7913a
+3 -2
View File
@@ -424,9 +424,10 @@ SliderView::MessageReceived(BMessage* msg)
void
SliderView::MouseDown(BPoint point)
{
if (Bounds().Contains(point))
if (Bounds().Contains(point)) {
SetTracking(true);
else
MouseMoved(point, B_INSIDE_VIEW, NULL);
} else
Invoke();
}