mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] ScrollableMultipleExpressionsView: reload scroll content
view layout when changing the displayed expression layouts Fix bug: input (transpose([1 1 1 1 1 1])[1 1 1 1 1 1])^30, click on 'OK' and then 'up'. The cell is mis-displayed.
This commit is contained in:
committed by
LeaNumworks
parent
300de8fb15
commit
8d621e4dce
@@ -168,7 +168,10 @@ void AbstractScrollableMultipleExpressionsView::setLayouts(Poincare::Layout left
|
||||
}
|
||||
if (updateLeftLayout || updateCenterLayout || updateRightLayout) {
|
||||
contentCell()->reloadTextColor();
|
||||
// Reload expressions layouts
|
||||
contentCell()->layoutSubviews();
|
||||
// Reload the scroll content view layout (the content size might have changed)
|
||||
layoutSubviews();
|
||||
// Do no reload scroll here as 'setLayouts' is called every time the table is re-layout (when scrolling for instance)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user