making sure to get theme colors

This commit is contained in:
Jack 2020-07-30 19:31:43 +01:00
parent 27b5efd435
commit 414cb8a940

View file

@ -1356,6 +1356,10 @@ function showResult(difficultyFailed = false) {
labels.push(i.toString());
}
if (themeColors.main == "") {
refreshThemeColorObject();
}
wpmOverTimeChart.options.scales.xAxes[0].ticks.minor.fontColor =
themeColors.sub;
wpmOverTimeChart.options.scales.xAxes[0].scaleLabel.fontColor =