Fixed some bugs 🆒

This commit is contained in:
unsettledgames
2020-03-15 16:32:48 +01:00
parent 4cac83530d
commit 7dec2f1490
5 changed files with 43 additions and 9 deletions

View File

@ -21,7 +21,7 @@ function newPixel (width, height, palette) {
layers.push(TMPLayer);
layers.push(currentLayer);
layers.push(checkerBoard);
//remove current palette
colors = document.getElementsByClassName('color-button');
while (colors.length > 0) {