You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cornerstonejs_tools.js?v=e6db9132:23788Uncaught TypeError: Cannotreadpropertiesofundefined(reading'0')atdrawHandle(@cornerstonejs_tools.js?v=e6db9132:23788:20)at @cornerstonejs_tools.js?v=e6db9132:23830:5atArray.forEach(<anonymous>)
at drawHandles (@cornerstonejs_tools.js?v=e6db9132:23829:16)
at RectangleROITool.renderAnnotation (@cornerstonejs_tools.js?v=e6db9132:32896:11)
at handleDrawSvg (@cornerstonejs_tools.js?v=e6db9132:24408:33)
at Array.forEach (<anonymous>)
at @cornerstonejs_tools.js?v=e6db9132:24412:20
at draw (@cornerstonejs_tools.js?v=e6db9132:23641:3)
at AnnotationRenderingEngine._triggerRender (@cornerstonejs_tools.js?v=e6db9132:24404:5)
Describe the Bug
I am trying to add a rectangle annotation but i am facing some issues
Note it can be good if we can have more examples for dynamically adding RectangleROITool, CircleROITool and AngleTool like what was done LengthTool.
Steps to Reproduce
The current behavior
cornerstone3D/packages/tools/src/drawingSvg/drawHandle.ts
Line 44 in 79887f9
The expected behavior
A rectangle annotation is displayed
OS
Windows 11
Node version
16.14.0
Browser
Chrome 131.0.6778.70
The text was updated successfully, but these errors were encountered: