mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Finished todo list for current contribution
Fixed canvas trimming history, added proper setting management for the pixel grid.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user