Move the Invalidate() call introduced in r40863. It is now in FrameResized().

This now seems to fix #7010 for good.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40864 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Saint-Pierre 2011-03-08 01:50:25 +00:00
parent 13b4be3fb2
commit c45c76e658

View File

@ -679,6 +679,7 @@ CalcView::FrameResized(float width, float height)
float inset = (frame.Height() - fExpressionTextView->LineHeight(0)) / 2;
frame.InsetBy(inset, inset);
fExpressionTextView->SetTextRect(frame);
Invalidate();
}
@ -1173,7 +1174,6 @@ CalcView::_ShowKeypad(bool show)
window->ResizeTo(fWidth, height);
} else
ResizeTo(fWidth, height);
Invalidate();
}
}