2021-07-07 00:24:20 +03:00
|
|
|
<!-- LAYER MENU -->
|
2022-02-23 19:16:23 +03:00
|
|
|
<ul id="layers-menu">
|
|
|
|
<li id="default-layer-list-item" class="layers-menu-entry selected-layer" style="display:none;">
|
2021-07-07 00:24:20 +03:00
|
|
|
<canvas class = "preview-canvas"></canvas>
|
|
|
|
<ul class="layer-buttons">
|
|
|
|
<li class = "layer-button">
|
|
|
|
<button title="Lock layer" class="lock-layer-button">
|
|
|
|
{{svg "unlockedpadlock.svg" width="15" height="15" class = "default-icon"}}
|
|
|
|
{{svg "lockedpadlock.svg" width="15" height="15" class = "edited-icon" display = "none"}}
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li class = "layer-button">
|
|
|
|
<button title="Show / hide layer" class="hide-layer-button">
|
|
|
|
{{svg "visible.svg" width="15" height="15" class = "default-icon"}}
|
|
|
|
{{svg "invisible.svg" width="15" height="15" class = "edited-icon" display = "none"}}
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2022-02-23 19:16:23 +03:00
|
|
|
<p>Background<div class = "gradient"></div></p>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
|
2022-02-23 19:16:23 +03:00
|
|
|
<li id="add-layer-li">
|
|
|
|
<button id="add-layer-button">
|
2021-07-07 00:24:20 +03:00
|
|
|
{{svg "plus.svg" width="20" height="20"}} Add layer
|
|
|
|
</button>
|
2022-03-23 15:47:57 +03:00
|
|
|
<button id="add-reference-button">
|
|
|
|
{{svg "plus.svg" width="20" height="20"}} Add reference
|
|
|
|
</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2022-02-23 19:16:23 +03:00
|
|
|
<ul id="layer-properties-menu">
|
2021-07-07 00:24:20 +03:00
|
|
|
<li>
|
2021-07-22 23:42:41 +03:00
|
|
|
<button onclick = "LayerList.renameLayer()">Rename</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
<li>
|
2021-07-22 23:42:41 +03:00
|
|
|
<button onclick = "LayerList.duplicateLayer()">Duplicate</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
<li>
|
2021-07-22 23:42:41 +03:00
|
|
|
<button onclick = "LayerList.deleteLayer()">Delete</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
<li>
|
2021-07-22 23:42:41 +03:00
|
|
|
<button onclick = "LayerList.merge()">Merge below</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
<li>
|
2021-07-22 23:42:41 +03:00
|
|
|
<button onclick = "LayerList.flatten(true)">Flatten visible</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
<li>
|
2021-07-22 23:42:41 +03:00
|
|
|
<button onclick = "LayerList.flatten(false)">Flatten all</button>
|
2021-07-07 00:24:20 +03:00
|
|
|
</li>
|
|
|
|
</ul>
|