Moved dialogue related things to their own IIFE

Refactored all calls to showDialogue and closeDialogue to use the IIFE version
This commit is contained in:
unsettledgames
2021-07-13 23:40:23 +02:00
parent 87ab2da6b5
commit e4ecc3d607
14 changed files with 96 additions and 84 deletions

View File

@@ -13,7 +13,6 @@ var eyedropperPreview = document.getElementById("eyedropper-preview");
var canvasView = document.getElementById("canvas-view");
var colors = document.getElementsByClassName("color-button");
var colorsMenu = document.getElementById("colors-menu");
var popUpContainer = document.getElementById("pop-up-container");
// main canvas
var canvas = document.getElementById('pixel-canvas');