[apps/interactive_curve_view_range] Status markers

Add member variable m_zoomAuto and m_zoomNormalized to remember the
interactive range's status.

Change-Id: I77c43ddd683d3c6011742801139d23f5e20c99fe
This commit is contained in:
Gabriel Ozouf
2020-10-02 14:18:05 +02:00
committed by Émilie Feral
parent 13d1b7077c
commit e2725c8e61
3 changed files with 19 additions and 8 deletions

View File

@@ -81,6 +81,9 @@ int RangeParameterController::reusableParameterCellCount(int type) {
void RangeParameterController::buttonAction() {
*m_interactiveRange = m_tempInteractiveRange;
m_interactiveRange->setZoomAuto(false);
m_interactiveRange->checkForNormalizedRange();
StackViewController * stack = stackController();
stack->pop();
}