Removed global pixelGridCanvas and currentMouseEvent

This commit is contained in:
unsettledgames
2021-07-22 18:57:44 +02:00
parent cd03923a86
commit 15cca5ffb7
8 changed files with 29 additions and 40 deletions

View File

@@ -130,7 +130,7 @@ const Startup = (() => {
TMPLayer = new Layer(width, height, 'tmp-canvas');
// Pixel grid
pixelGrid = new Layer(width, height, pixelGridCanvas);
pixelGrid = new Layer(width, height, "pixel-grid");
// Setting the general canvasSize
canvasSize = currentLayer.canvasSize;