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:
@@ -424,9 +424,10 @@ SliderView::MessageReceived(BMessage* msg)
|
|||||||
void
|
void
|
||||||
SliderView::MouseDown(BPoint point)
|
SliderView::MouseDown(BPoint point)
|
||||||
{
|
{
|
||||||
if (Bounds().Contains(point))
|
if (Bounds().Contains(point)) {
|
||||||
SetTracking(true);
|
SetTracking(true);
|
||||||
else
|
MouseMoved(point, B_INSIDE_VIEW, NULL);
|
||||||
|
} else
|
||||||
Invoke();
|
Invoke();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user