Skip to content

Commit

Permalink
Update LayersPanel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhenon committed Jul 4, 2024
1 parent c2cb03d commit fe5c180
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/editor/panels/LayersPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@ class LayersPanel {
layerVis.className = (!drawing.getLayerVisibility(name)) ? 'layerinvis layervis' : 'layervis'

// fix the eye icon lost at right layers
const _eye = document.createElement('img');
_eye.src="./images/eye.svg";
_eye.style.width = '14px';
_eye.style.width = '14px';
layerVis.appendChild(_eye);
const _eye = document.createElement('img')
_eye.src = './images/eye.svg'
_eye.style.width = '14px'
_eye.style.width = '14px'
layerVis.appendChild(_eye)

const layerName = document.createElement('td')
layerName.className = 'layername'
layerName.textContent = name
Expand Down

0 comments on commit fe5c180

Please sign in to comment.