Skip to content

Commit 6ab9cc3

Browse files
authored
Fix issue with bounding boxes not being properly displayed on Firefox. (#1036)
1 parent fccaa82 commit 6ab9cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_ui/src/pages/annotator/annotation/layers/layer.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const Layer = ({
6464
annotation={annotation}
6565
selectedTask={selectedTask}
6666
isPredictionMode={isPredictionMode}
67-
maskId={`url(#${maskId})`}
67+
maskId={isNonEmptyArray(savedMasks) ? `url(#${maskId})` : undefined}
6868
/>
6969
</svg>
7070
)}

0 commit comments

Comments
 (0)