[apps] MAke some InteractiveCurveViewRangeDelegate methods const

This commit is contained in:
Léa Saviot
2019-01-04 12:16:23 +01:00
parent 5d1ef0f3f0
commit 869e534b4b
5 changed files with 8 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ void GraphController::setDisplayDerivativeInBanner(bool displayDerivative) {
m_displayDerivativeInBanner = displayDerivative;
}
float GraphController::interestingXHalfRange() {
float GraphController::interestingXHalfRange() const {
float characteristicRange = 0.0f;
TextFieldDelegateApp * myApp = (TextFieldDelegateApp *)app();
for (int i = 0; i < functionStore()->numberOfActiveFunctions(); i++) {