Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bug EllipticalROITool #1011

Merged
merged 11 commits into from
Jan 19, 2024
2 changes: 2 additions & 0 deletions packages/tools/src/tools/annotation/EllipticalROITool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,8 @@ class EllipticalROITool extends AnnotationTool {
// Some area to do stats over.

if (this._isInsideVolume(worldPos1Index, worldPos2Index, dimensions)) {
this.isHandleOutsideImage = false;

const iMin = Math.min(worldPos1Index[0], worldPos2Index[0]);
const iMax = Math.max(worldPos1Index[0], worldPos2Index[0]);

Expand Down