{#key node?.properties.canvasWidth} {#if widget?.attrs.title} {@const label = widget.attrs.title} {/if} {#if showWidget} {@const selectedBBox = $nodeValue[selectedIndex]}
{#each displayBoxes as dBox, i} {@const selected = selectedIndex === i}
onBoxMouseDown(e, i)} > Warning: Region very large!
{/each}
{#if selectedBBox} updateSelectedIndex(e.detail)} on:release={updateValue} /> updateX(e.detail)} on:release={updateValue} /> updateWidth(e.detail)} on:release={updateValue} /> updateY(e.detail)} on:release={updateValue} /> updateHeight(e.detail)} on:release={updateValue} /> {#if hasImage} {/if} {/if} {:else}
(No regions)
{/if}
{/key}