mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-25 04:07:23 +00:00
Fix colors not updating on refresh
This commit is contained in:
@@ -368,6 +368,7 @@ function loadSpeciesHistory() {
|
|||||||
console.warn("Failed to parse species history from localStorage:", e);
|
console.warn("Failed to parse species history from localStorage:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
createColorPicker();
|
createColorPicker();
|
||||||
@@ -380,5 +381,6 @@ loadSpeciesHistory();
|
|||||||
new Layer(getLayerPixels(pixels, 0, SPRITE_SIZE)),
|
new Layer(getLayerPixels(pixels, 0, SPRITE_SIZE)),
|
||||||
new Layer(getLayerPixels(pixels, 5, SPRITE_SIZE), TAG.TUFT),
|
new Layer(getLayerPixels(pixels, 5, SPRITE_SIZE), TAG.TUFT),
|
||||||
]);
|
]);
|
||||||
commitChange();
|
updateJson();
|
||||||
|
draw();
|
||||||
})();
|
})();
|
||||||
Reference in New Issue
Block a user