mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
fix(client): Fix lint
This commit is contained in:
parent
3eaf223420
commit
342077f51b
1 changed files with 8 additions and 8 deletions
|
@ -5,7 +5,7 @@ import { values, utils } from '@syuilo/aiscript';
|
|||
|
||||
// https://stackoverflow.com/questions/38493564/chart-area-background-color-chartjs
|
||||
Chart.pluginService.register({
|
||||
beforeDraw: function (chart, easing) {
|
||||
beforeDraw: (chart, easing) => {
|
||||
if (chart.config.options.chartArea && chart.config.options.chartArea.backgroundColor) {
|
||||
const ctx = chart.chart.ctx;
|
||||
ctx.save();
|
||||
|
|
Loading…
Reference in a new issue