mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed a horrible bug that happened when moving layers
This commit is contained in:
@@ -10,9 +10,6 @@ function fillCheckerboard() {
|
||||
var context = checkerBoard.context;
|
||||
context.clearRect(0, 0, canvasSize[0], canvasSize[1]);
|
||||
|
||||
console.log(canvasSize);
|
||||
console.log(checkerBoardSquareSize);
|
||||
|
||||
// Cycling through the canvas (using it as a matrix)
|
||||
for (var i=0; i<canvasSize[0] / checkerBoardSquareSize; i++) {
|
||||
nSquaresFilled = 0;
|
||||
|
Reference in New Issue
Block a user