use With() and Height() instead of right an bottom for the new frame size, fBounds contains the scrolling offset...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
70206143d0
commit
1cf70f2e66
@ -4021,7 +4021,7 @@ BView::_ResizeBy(int32 deltaWidth, int32 deltaHeight)
|
|||||||
|
|
||||||
if (fFlags & B_FRAME_EVENTS) {
|
if (fFlags & B_FRAME_EVENTS) {
|
||||||
// TODO: CurrentMessage() is not what it used to be!
|
// TODO: CurrentMessage() is not what it used to be!
|
||||||
FrameResized(fBounds.right, fBounds.bottom);
|
FrameResized(fBounds.Width(), fBounds.Height());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user