mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
slight animation for chart color update
This commit is contained in:
parent
232aa73061
commit
3d2baf0d8f
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ export async function updateColors(chart) {
|
|||
chart.data.datasets[1].trendlineLinear.style = subcolor;
|
||||
} catch {}
|
||||
|
||||
chart.update({ duration: 0 });
|
||||
chart.update({ duration: 250 });
|
||||
}
|
||||
|
||||
Chart.prototype.updateColors = function () {
|
||||
|
|
Loading…
Reference in a new issue