mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/calculation] CanBeSingleLine differs if args are view/layout sizes
If the sizes are for layouts, we need to add the margins added by the views.
This commit is contained in:
committed by
EmilieNumworks
parent
4f50a72abf
commit
579485c8c0
@@ -214,7 +214,7 @@ KDCoordinate HistoryController::rowHeight(int j) {
|
||||
HistoryViewCell::k_inputOutputViewsVerticalMargin,
|
||||
j == selectedRow() && selectedSubviewType() == SubviewType::Output,
|
||||
false,
|
||||
&HistoryViewCell::CanBeSingleLine);
|
||||
&HistoryViewCell::LayoutsCanBeSingleLine);
|
||||
}
|
||||
|
||||
int HistoryController::typeAtLocation(int i, int j) {
|
||||
|
||||
Reference in New Issue
Block a user