Skip to content

Commit

Permalink
fix: wrong closed status value in SplineROI tool (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackman99 authored Jan 24, 2024
1 parent 68c692e commit 0027ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tools/src/tools/annotation/SplineROITool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ class SplineROITool extends ContourSegmentationBaseTool {
const data = annotation.data;
const targetId = this.getTargetId(viewport);

if (!data.spline.closed || !textboxStyle.visibility) {
if (!data.spline.instance.closed || !textboxStyle.visibility) {
return;
}

Expand Down

0 comments on commit 0027ec1

Please sign in to comment.