deactivate freehand tool breaks all other tools
See original GitHub issuePrerequisites
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you perform a cursory search?
For more information, see the CONTRIBUTING
guide.
Description
deactivate freehand tool will cause other tools stop working
Steps to Reproduce
-
Deactivate all other tools
-
Activate targeting tool
-
rectangleRoi tool or other tools will not work
Expected behavior: Switching tools like usual, deactivating all other tools than activate targeting tool
Actual behavior: Other tools will not activate after deactivate freehand tool
Codepen With Reproduction of Issue:
deactivateAll = (element) => {
cornerstoneTools.stackScroll.deactivate(element)
cornerstoneTools.zoom.deactivate(element)
cornerstoneTools.wwwc.deactivate(element)
cornerstoneTools.rectangleRoi.deactivate(element)
cornerstoneTools.freehand.deactivate(element)
}
toggleRect = (e) => {
const element = document.getElementById('dicomImage')
this.deactivateAll(element)
cornerstoneTools.rectangleRoi.activate(element, 1)
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Freehand tools - InVision Support
Delete : Delete the image. Duplicate: Duplicate the image in the same freehand. Pencil tool. The pencil tool ( ) lets you draw...
Read more >How to turn off selection after freehand drawing? - Inkscape
Then you need to go to "Select-tool" and click on the canvas to deselect. Then you need to go to "Select-tool" and click...
Read more >How do I turn off the freehand tool for players? | Roll20
If you can get your players to install the Stylus browser extension, you could have them each hide the Drawing Tool button from...
Read more >Turning off the auto join in free hand tool ?? - CorelDRAW X3
Is there a way to turn off the auto join with the free hand tool/ I am trying to sketch and need to...
Read more >Exploring the toolbox - CorelDRAW Help
To hide or display tools in the toolbox, click the Quick customize button , and enable or disable the corresponding check boxes. For...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OMG, it worked. My bad that I didn’t read carefully. Thank you very much!
Hmm, this is strange, this is working on master on examples/allImageTools, which does just this: