[apps] Event 'right' on chevron cells behaves as OK and 'left' on the

next cell as 'back'

Change-Id: I2470659d8237373b21ad106c79cc5f8945f0edb5
This commit is contained in:
Émilie Feral
2017-06-01 16:41:55 +02:00
parent 62fdda45bf
commit ce09d2f9c4
12 changed files with 64 additions and 24 deletions

View File

@@ -63,6 +63,14 @@ HighlightCell * IntervalParameterController::reusableParameterCell(int index, in
return m_intervalCells[index];
}
bool IntervalParameterController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::Left && stackController()->depth() > 2) {
stackController()->pop();
return true;
}
return false;
}
int IntervalParameterController::reusableParameterCellCount(int type) {
return k_totalNumberOfCell;
}