mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-10 01:14:27 +08:00
making sure to get theme colors
This commit is contained in:
parent
27b5efd435
commit
414cb8a940
1 changed files with 4 additions and 0 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue