[apps/graph][apps/sequence] In values controller, memoize the number of

columns to improve performance

Change-Id: Ie3c545d0198a2f23575bd22fdbf56e9c6b8ff2b8
This commit is contained in:
Émilie Feral
2017-06-01 13:19:51 +02:00
parent 25383b73e5
commit d2c55eb7d0
14 changed files with 67 additions and 39 deletions

View File

@@ -48,6 +48,7 @@ bool DerivativeParameterController::handleEvent(Ion::Events::Event event) {
{
m_valuesController->selectCellAtLocation(m_valuesController->selectedColumn()-1, m_valuesController->selectedRow());
m_function->setDisplayDerivative(false);
m_valuesController->updateNumberOfColumns();
StackViewController * stack = (StackViewController *)(parentResponder());
stack->pop();
return true;