Open
Description
Describe the Bug
If you put Label on canvas, then call the cancelActiveManipulations function while the "Label" tool is active, this error will occur.
Steps to Reproduce
- Place Label on Canvas
- Call cancelActiveManipulations
The current behavior
LabelTool.js:182 Uncaught TypeError: Cannot destructure property 'annotation' of 'this.editData' as it is undefined.
at LabelTool.cancel (LabelTool.js:182:25)
at Module.cancelActiveManipulations (cancelActiveManipulations.js:11:1)
The expected behavior
No errors
OS
Windows 10 x64
Node version
20.18.3
Browser
Google Chrome
Activity