Fixed bug when undoing layer add

Also created nAppLayers to save the number of layers used by the editor (and that the use can't directly with).
This commit is contained in:
unsettledgames
2020-09-26 11:51:18 +02:00
parent a205b24742
commit 034715fac8
8 changed files with 31 additions and 12 deletions

View File

@ -110,7 +110,7 @@ function resizeCanvas(event, size) {
// Regenerate the checkerboard
fillCheckerboard();
fillPixelGrid();
// Put the imageDatas in the right position
switch (rcPivot)
{