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