fixes deleted layer ghosts

This commit is contained in:
tim h 2023-02-18 12:56:53 -06:00
parent fad101184c
commit 2598cb9c41
2 changed files with 3 additions and 3 deletions

View file

@ -407,7 +407,7 @@
<script src="js/lib/events.js?v=2ab7933" type="text/javascript"></script>
<script src="js/lib/db.js?v=434363b" type="text/javascript"></script>
<script src="js/lib/input.js?v=aa14afc" type="text/javascript"></script>
<script src="js/lib/layers.js?v=1a452a1" type="text/javascript"></script>
<script src="js/lib/layers.js?v=26b7436" type="text/javascript"></script>
<script src="js/lib/commands.js?v=ad60afc" type="text/javascript"></script>
<script src="js/lib/toolbar.js?v=fb3f261" type="text/javascript"></script>

View file

@ -603,11 +603,11 @@ const layers = {
// Hides this layer (don't draw)
hide() {
this.canvas.style.display = "none";
this.state.visible = false;
},
// Hides this layer (don't draw)
unhide() {
this.canvas.style.display = "block";
this.state.visible = true;
},
},
_layerlogpath