DeskCalc
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:
@@ -679,6 +679,7 @@ CalcView::FrameResized(float width, float height)
|
|||||||
float inset = (frame.Height() - fExpressionTextView->LineHeight(0)) / 2;
|
float inset = (frame.Height() - fExpressionTextView->LineHeight(0)) / 2;
|
||||||
frame.InsetBy(inset, inset);
|
frame.InsetBy(inset, inset);
|
||||||
fExpressionTextView->SetTextRect(frame);
|
fExpressionTextView->SetTextRect(frame);
|
||||||
|
Invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1173,7 +1174,6 @@ CalcView::_ShowKeypad(bool show)
|
|||||||
window->ResizeTo(fWidth, height);
|
window->ResizeTo(fWidth, height);
|
||||||
} else
|
} else
|
||||||
ResizeTo(fWidth, height);
|
ResizeTo(fWidth, height);
|
||||||
Invalidate();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user