Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
seleb committed May 22, 2021
1 parent 878aaff commit b11e0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default class Draw1Bit {
const r = Math.min(rx, ry);
this.context.translate((this.canvas.width - this.width * r) / 2, (this.canvas.height - this.height * r) / 2);
this.context.fillStyle = this.colorBg;
this.context.fillRect(0, 0, this.width*r, this.height*r);
this.context.fillRect(0, 0, this.width * r, this.height * r);
this.context.fillStyle = this.colorFill;
// fill
for (let y = 0; y < this.height; ++y) {
Expand Down

0 comments on commit b11e0b5

Please sign in to comment.