Fixed pixel grid bug

This commit is contained in:
unsettledgames
2021-12-07 23:01:49 +01:00
parent 05beab6929
commit 55f514b92e
5 changed files with 31 additions and 31 deletions

View File

@@ -28,9 +28,6 @@ const LayerList = (() => {
}
function hideMenu() {
if (EditorState.documentCreated()) {
if (!confirm('Switching to basic mode will flatten all the visible layers. Are you sure you want to continue?')) {
return;
}
// Selecting the current layer
currFile.currentLayer.selectLayer();
// Flatten the layers