mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Removed a few dependencies, refactored pixel-editor.js
This commit is contained in:
@@ -42,7 +42,7 @@ const Dialogue = (() => {
|
||||
document.getElementById(dialogueName).style.display = 'block';
|
||||
|
||||
// If I'm opening the palette window, I initialize the colour picker
|
||||
if (dialogueName == 'palette-block' && Startup.documentCreated()) {
|
||||
if (dialogueName == 'palette-block' && EditorState.documentCreated()) {
|
||||
ColorPicker.init();
|
||||
PaletteBlock.init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user