mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/calculation][apps/shared]
AbstractScrollableExactApproximateExpressionsView children classes reload scroll after reloading the subview selection when entering the responder chain and when cell becomes first responder. We don't reload scroll when setting content of cells as this is done every time we relayout - when scrolling in the table for instance.
This commit is contained in:
@@ -121,6 +121,13 @@ void SolutionsController::viewWillAppear() {
|
||||
}
|
||||
}
|
||||
|
||||
void SolutionsController::didEnterResponderChain(Responder * previousFirstResponder) {
|
||||
// Select the most left present subview on all cells and reinitialize scroll
|
||||
for (int i = 0; i < EquationStore::k_maxNumberOfExactSolutions; i++) {
|
||||
m_exactValueCells[i].reinitSelection();
|
||||
}
|
||||
}
|
||||
|
||||
/* AlternateEmptyRowDelegate */
|
||||
|
||||
bool SolutionsController::isEmpty() const {
|
||||
|
||||
Reference in New Issue
Block a user