Add thumbnails for layers (#286)

Fixes: #285
This commit is contained in:
TrueDoctor
2021-07-21 02:30:49 -07:00
committed by Keavon Chambers
parent 1f1c307211
commit 87f65cd831
7 changed files with 35 additions and 3 deletions
@@ -28,7 +28,7 @@
@click.alt.exact="handleControlClick(layer)"
@click.exact="handleClick(layer)"
>
<div class="layer-thumbnail"></div>
<div class="layer-thumbnail" v-html="layer.thumbnail"></div>
<div class="layer-type-icon">
<IconLabel :icon="'NodeTypePath'" title="Path" />
</div>
@@ -92,6 +92,12 @@
width: 64px;
height: 100%;
background: white;
svg {
width: calc(100% - 4px);
height: calc(100% - 4px);
margin: 2px;
}
}
.layer-type-icon {