mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Started pixel grid
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user