BScrollBar::SetValue() was called with the wrong values in BView::ScrollBy
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13404 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1451,9 +1451,9 @@ BView::ScrollBy(float dh, float dv)
|
|||||||
|
|
||||||
// then set the new values of the scrollbars
|
// then set the new values of the scrollbars
|
||||||
if (fHorScroller)
|
if (fHorScroller)
|
||||||
fHorScroller->SetValue(fBounds.top);
|
fHorScroller->SetValue(fBounds.left);
|
||||||
if (fVerScroller)
|
if (fVerScroller)
|
||||||
fVerScroller->SetValue(fBounds.left);
|
fVerScroller->SetValue(fBounds.top);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user