Skip to content

Commit

Permalink
#29. Better this way?
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-markussen committed Jun 3, 2023
1 parent c3ef733 commit 42064e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/yoda-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ export function registerChartJS() {
beforeDraw: function (c) {
var ctx = c.ctx;
ctx.fillStyle = getColor('htmlBackground');
ctx.fillRect(0, 0, c.canvas.width, c.canvas.height);
ctx.fillRect(0, 0, c.width, c.height);
}
});
}

0 comments on commit 42064e3

Please sign in to comment.