mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/calculation] Fix height computation in additional results
This commit is contained in:
committed by
EmilieNumworks
parent
884d9890cf
commit
93d687abc2
@@ -73,7 +73,8 @@ KDCoordinate ScrollableThreeExpressionsCell::Height(Calculation * calculation) {
|
||||
KDRect approximateSignFrame = KDRectZero;
|
||||
KDRect rightFrame = KDRectZero;
|
||||
cell.subviewFrames(&leftFrame, ¢erFrame, &approximateSignFrame, &rightFrame);
|
||||
return leftFrame.unionedWith(centerFrame).unionedWith(rightFrame).height();
|
||||
KDRect unionedFrame = leftFrame.unionedWith(centerFrame).unionedWith(rightFrame);
|
||||
return unionedFrame.height() + 2 * ScrollableThreeExpressionsView::k_margin;
|
||||
}
|
||||
|
||||
void ScrollableThreeExpressionsCell::didBecomeFirstResponder() {
|
||||
|
||||
Reference in New Issue
Block a user