mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 09:08:12 +08:00
Thumbnails for the layer node (#1210)
* Thumbnails for the layer node * Raster node graph frames * Downscale to a random resolution * Cleanup and bug fixes * Generate paths before duplicating outputs * Fix stable id test * Code review changes * Code review pass with minor changes --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
d76bd36447
commit
88c4713e75
@@ -548,7 +548,11 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<IconLabel icon={nodeIcon(node.displayName)} />
|
||||
{#if node.thumbnailSvg}
|
||||
{@html node.thumbnailSvg}
|
||||
{:else}
|
||||
<IconLabel icon={nodeIcon(node.displayName)} />
|
||||
{/if}
|
||||
<TextLabel>{node.displayName}</TextLabel>
|
||||
</div>
|
||||
{#if exposedInputsOutputs.length > 0}
|
||||
|
||||
Reference in New Issue
Block a user