{#if panelId === 'canvas-size'} {:else if panelId === 'properties'}
Properties
{#if activeLayer}
Name {activeLayer.name || activeLayer.id}
Type {activeLayer.type}
Blend Mode {activeLayer.blend}
controller.setLayerProperties(activeLayer.id, { opacity: val })} />
{#if activeLayer.type !== 'adjustment'} {/if} {:else}
No active layer selected.
{/if}
{:else if panelId === 'paint'}
Brush & Paint
{:else if panelId === 'effects'} {:else if panelId === 'color'}
Color Adjustments
{#if histogram}{/if} {#each IMAGE_ADJUSTMENT_CONTROLS as spec (spec.id)} controller.setAdjustments({ [spec.id]: v })} /> {/each}
{:else if panelId === 'adjustment'} {:else if panelId === 'type'}
Typography
(typeOptions = o)} />
{:else if panelId === 'shape'}
Shape Options
(shapeOptions = o)} {showTools} />
{:else if panelId === 'smart-filters'} {:else if panelId === 'provider-effects'} {:else if panelId === 'selection'}
Selection
(selectionOptions = o)} {showTools} />
{:else if panelId === 'channels'} {:else if panelId === 'paths'} {:else if panelId === 'mask'}
Mask & Edges
{#if activeLayer} {#key activeLayer.id} {#if activeLayer.vectorMask} {/if} {#if EDGE_COLOR_TYPES.has(activeLayer.type)} {/if} {/key} {:else}
No active layer selected.
{/if}
{:else}
Panel {panelId}
{/if}