Turned the PaleteBlock into an IIFE

This commit is contained in:
unsettledgames
2021-12-06 11:26:42 +01:00
parent 71bfe543a5
commit d972f9c530
12 changed files with 339 additions and 330 deletions

View File

@@ -160,7 +160,7 @@ const ColorModule = (() => {
const col = coloursList.children[i].style.backgroundColor;
if (col.includes("rgb")) {
addColor(cssToHex(col));
addColor(Color.cssToHex(col));
}
else {
addColor(col);