{#if sheet} { updateSizesWithDimensions(); dropdownObject.update(); }} let:toggleActualSize let:active > {#if activeImage} createDropdown(event.detail.selection)} > event.stopPropagation()} on:dblclick={toggleActualSize} /> {actualWidth}×{actualHeight} {#if customDimensions} (Original: {naturalWidth}×{naturalHeight}) {/if} event.stopPropagation()} on:pointerclick={(event) => { if (active) { setPointerCapture(event); } }} on:pointerup={startObserving} on:pointermove={(event) => { resize(event); updateSizesWithDimensions(); dropdownObject.update(); }} /> {/if} {/if}