refactor: use keyed each for face bounding boxes (#26648)

This commit is contained in:
Min Idzelis
2026-03-02 23:16:13 -05:00
committed by GitHub
parent 20c639e52a
commit 4da3d68a67
4 changed files with 10 additions and 4 deletions
@@ -248,8 +248,7 @@
: slideshowLookCssMapping[$slideshowLook]}"
draggable="false"
/>
<!-- eslint-disable-next-line svelte/require-each-key -->
{#each getBoundingBox($boundingBoxesArray, overlayMetrics) as boundingbox}
{#each getBoundingBox($boundingBoxesArray, overlayMetrics) as boundingbox (boundingbox.id)}
<div
class="absolute border-solid border-white border-3 rounded-lg"
style="top: {boundingbox.top}px; left: {boundingbox.left}px; height: {boundingbox.height}px; width: {boundingbox.width}px;"