mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Reorganized file tree, made Checkerboard a child of Layer
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user