Started pixel grid

This commit is contained in:
unsettledgames
2020-09-25 09:25:27 +02:00
parent 9c68e541d9
commit a205b24742
7 changed files with 23 additions and 19 deletions

View File

@ -54,7 +54,10 @@ function newPixel (width, height, editorMode, fileContent = null) {
VFXLayer = new Layer(width, height, VFXCanvas);
// Tmp layer to draw previews on
TMPLayer = new Layer(width, height, TMPCanvas);
TMPLayer = new Layer(width, height, TMPCanvas);
// Pixel grid
pixelGrid = new Layer(width, height, pixelGridCanvas);
canvasSize = currentLayer.canvasSize;