summaryrefslogtreecommitdiff
path: root/src/stepCounter/StepsDetailPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/stepCounter/StepsDetailPage.qml')
-rw-r--r--src/stepCounter/StepsDetailPage.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stepCounter/StepsDetailPage.qml b/src/stepCounter/StepsDetailPage.qml
index 7949a2f..2862eea 100644
--- a/src/stepCounter/StepsDetailPage.qml
+++ b/src/stepCounter/StepsDetailPage.qml
@@ -91,6 +91,7 @@ Item {
}
}
}
+ indicatorLineColor = interpolateColors(Qt.rgba(1,0,0,1),Qt.rgba(0.06,1,0.11,1),clamp(stepsDataLoader.getTotalForDate(stepsLineGraph.startTime)/loggerSettings.stepGoalTarget,0,1))
dataLoadingDone()
}
indicatorLineHeight: loggerSettings.stepGoalEnabled ? loggerSettings.stepGoalTarget : 0