Finished todo list for current contribution

Fixed canvas trimming history, added proper setting management for the pixel grid.
This commit is contained in:
unsettledgames
2020-09-29 19:10:50 +02:00
parent c7cacc37ca
commit aabc715086
6 changed files with 28 additions and 17 deletions

View File

@ -28,7 +28,7 @@ function fillPixelGrid() {
// OPTIMIZABLE, could probably be a bit more elegant
// Draw horizontal lines
for (let i=0; i<pixelGridCanvas.width / lineDistance; i++) {
context.strokeStyle = pixelGridColor;
context.strokeStyle = settings.pixelGridColour;
context.beginPath();
context.moveTo(i * lineDistance + 0.5, 0);