feat(annotations): pass isResizable to AnnotationShape based on selection + transcribeMode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-14 10:57:13 +02:00
parent 3b756cd718
commit 3fb32ea285
2 changed files with 66 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ const containerStyle = $derived(
annotation={annotation}
isHovered={hoveredId === annotation.id}
isActive={annotation.id === activeAnnotationId}
isResizable={canDraw && annotation.id === activeAnnotationId && !annotation.polygon}
faded={!dimmed && !!activeAnnotationId && annotation.id !== activeAnnotationId}
dimmed={dimmed}
blockNumber={blockNumbers[annotation.id]}