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

@@ -44,7 +44,7 @@ const Dialogue = (() => {
// If I'm opening the palette window, I initialize the colour picker
if (dialogueName == 'palette-block' && Startup.documentCreated()) {
ColorPicker.init();
pbInit();
PaletteBlock.init();
}
//track google event