{#each { length: GRID_SIZE - 1 } as _, i} {/each} {#if selectedNodeIndex !== undefined} {@const m = manipulatorsList[selectedNodeIndex]} {#each [0, 1] as i} handleManipulatorPointerDown(e, -i - 1)} /> {/each} {/if} {#each manipulatorsList as manipulators, i} handleManipulatorPointerDown(e, i)} /> {/each}