mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers. Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
This commit is contained in:
@@ -21,7 +21,7 @@ float HistogramParameterController::parameterAtIndex(int index) {
|
||||
if (index == 0) {
|
||||
return m_store->barWidth();
|
||||
}
|
||||
return m_store->firsBarAbscissa();
|
||||
return m_store->firstDrawnBarAbscissa();
|
||||
}
|
||||
|
||||
void HistogramParameterController::setParameterAtIndex(int parameterIndex, float f) {
|
||||
@@ -33,7 +33,7 @@ void HistogramParameterController::setParameterAtIndex(int parameterIndex, float
|
||||
}
|
||||
m_store->setBarWidth(f);
|
||||
} else {
|
||||
m_store->setFirsBarAbscissa(f);
|
||||
m_store->setFirstDrawnBarAbscissa(f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user