Made the color picker an IIFE

This commit is contained in:
unsettledgames
2021-12-04 23:11:21 +01:00
parent 07ed24cc6b
commit 71bfe543a5
11 changed files with 802 additions and 781 deletions

View File

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