mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-01 08:18:51 +09:00
fix(lint): Use const
This commit is contained in:
parent
2ee0e07bb6
commit
0a4d119d86
@ -7,7 +7,7 @@ import { values, utils } from '@syuilo/aiscript';
|
||||
Chart.pluginService.register({
|
||||
beforeDraw: function (chart, easing) {
|
||||
if (chart.config.options.chartArea && chart.config.options.chartArea.backgroundColor) {
|
||||
var ctx = chart.chart.ctx;
|
||||
const ctx = chart.chart.ctx;
|
||||
ctx.save();
|
||||
ctx.fillStyle = chart.config.options.chartArea.backgroundColor;
|
||||
ctx.fillRect(0, 0, chart.chart.width, chart.chart.height);
|
||||
|
Loading…
Reference in New Issue
Block a user