Fixed the problem mentioned in the previous commit: BMenuBar::FrameResized() now invalidates the view. We might be smarter and try to only invalidate part of it, though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17408 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a35d1f270c
commit
f4ff3be7a4
@ -214,8 +214,10 @@ BMenuBar::FrameMoved(BPoint newPosition)
|
||||
void
|
||||
BMenuBar::FrameResized(float newWidth, float newHeight)
|
||||
{
|
||||
BMenu::FrameResized(newWidth, newHeight);
|
||||
fLastBounds->Set(0, 0, newWidth, newHeight);
|
||||
if (Window())
|
||||
Invalidate(Bounds());
|
||||
BMenu::FrameResized(newWidth, newHeight);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user