Added a new compact result display mode

This commit is contained in:
0b101
2020-02-21 16:08:55 -06:00
committed by EmilieNumworks
parent 67fc7502e2
commit b48d3d6e4a
6 changed files with 51 additions and 21 deletions

View File

@@ -208,7 +208,7 @@ KDCoordinate HistoryController::rowHeight(int j) {
return 0;
}
Shared::ExpiringPointer<Calculation> calculation = calculationAtIndex(j);
return calculation->height(App::app()->localContext(), j == selectedRow() && selectedSubviewType() == SubviewType::Output) + 4 * Metric::CommonSmallMargin;
return calculation->height(App::app()->localContext(), j == selectedRow() && selectedSubviewType() == SubviewType::Output);
}
int HistoryController::typeAtLocation(int i, int j) {