invalidate a bit more

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19288 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2006-11-14 23:01:56 +00:00
parent 7a459c2db3
commit aadf8a88bb

View File

@ -222,7 +222,7 @@ void
BMenuBar::FrameResized(float newWidth, float newHeight) BMenuBar::FrameResized(float newWidth, float newHeight)
{ {
BRect bounds(Bounds()); BRect bounds(Bounds());
BRect rect(fLastBounds->right - 2, fLastBounds->top, bounds.right, bounds.bottom); BRect rect(fLastBounds->right - 12, fLastBounds->top, bounds.right, bounds.bottom);
fLastBounds->Set(0, 0, newWidth, newHeight); fLastBounds->Set(0, 0, newWidth, newHeight);
Invalidate(rect); Invalidate(rect);