Skip to content

Commit

Permalink
fix(angle tool): No text box if angle is incomplete/ value is NaN (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE authored Sep 7, 2023
1 parent 7fb460c commit de1af97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tools/src/tools/annotation/AngleTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ class AngleTool extends AnnotationTool {
);

cachedStats[targetId] = {
angle,
angle: isNaN(angle) ? 'Incomplete Angle' : angle,
};
}

Expand Down

0 comments on commit de1af97

Please sign in to comment.