Reorganized file tree, made Checkerboard a child of Layer

This commit is contained in:
unsettledgames
2021-11-11 23:13:15 +01:00
parent 1d33259abf
commit aed5f45e64
13 changed files with 107 additions and 80 deletions

View File

@ -18,6 +18,7 @@ const EditorState = (() => {
document.getElementById('colors-menu').style.right = '200px'
pixelEditorMode = 'Advanced';
document.getElementById("switch-mode-button").innerHTML = 'Switch to basic mode';
//turn pixel grid off
togglePixelGrid('off');
@ -45,6 +46,7 @@ const EditorState = (() => {
document.getElementById('colors-menu').style.right = '0px';
pixelEditorMode = 'Basic';
document.getElementById("switch-mode-button").innerHTML = 'Switch to advanced mode';
togglePixelGrid('on');
}
}