Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
jesi-rgb committed Jul 1, 2022
1 parent a0a151a commit 1a9ae6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import omggif from 'omggif';
* let img = createImage(66, 66);
* img.loadPixels();
* let d = pixelDensity();
* let halfImage = 4 * (img.width * d) * ((img.height / 2) * d);
* let halfImage = 4 * (img.width * d) * (img.height / 2 * d);
* for (let i = 0; i < halfImage; i += 4) {
* img.pixels[i] = red(pink);
* img.pixels[i + 1] = green(pink);
Expand Down

0 comments on commit 1a9ae6b

Please sign in to comment.