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:
Stefano Ceccherini 2005-07-02 16:35:37 +00:00
parent 7505732a0c
commit 7d71b63563

View File

@ -1451,9 +1451,9 @@ BView::ScrollBy(float dh, float dv)
// then set the new values of the scrollbars
if (fHorScroller)
fHorScroller->SetValue(fBounds.top);
fHorScroller->SetValue(fBounds.left);
if (fVerScroller)
fVerScroller->SetValue(fBounds.left);
fVerScroller->SetValue(fBounds.top);
}