mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Almost finished deleting layers
There's a bug that happens when the user tries to delete the Layer 0. All the other ones work correctly.
This commit is contained in:
@@ -153,6 +153,15 @@
|
||||
{{svg "plus.svg" width="20" height="20"}} Add layer
|
||||
</button>
|
||||
</li>
|
||||
|
||||
<ul id = "layer-properties-menu">
|
||||
<li>
|
||||
<button id = "delete-layer" onclick = "deleteLayer()">Delete</button>
|
||||
</li>
|
||||
<li>
|
||||
<button id = "rename-layer">Rename</button>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<div id="eyedropper-preview"></div>
|
||||
@@ -276,8 +285,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
palettes = { {{#palettes}}
|
||||
'{{title}}': {
|
||||
|
||||
Reference in New Issue
Block a user