mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/graph][apps/sequence] In values controller, memoize the number of
columns to improve performance Change-Id: Ie3c545d0198a2f23575bd22fdbf56e9c6b8ff2b8
This commit is contained in:
@@ -25,6 +25,7 @@ bool FunctionParameterController::handleEvent(Ion::Events::Event event) {
|
||||
case 0:
|
||||
{
|
||||
m_cartesianFunction->setDisplayDerivative(!m_cartesianFunction->displayDerivative());
|
||||
m_valuesController->updateNumberOfColumns();
|
||||
if (m_cartesianFunction->displayDerivative()) {
|
||||
m_valuesController->selectCellAtLocation(m_valuesController->selectedColumn()+1, m_valuesController->selectedRow());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user