feat: 🎸 Configuration so viewer tools can nix handles (#1304)

* feat: 🎸 Configuration so viewer tools can nix handles

Adds a key to cornerstone configuration that allows to toggle on/off
handle rendering

Closes: #1223

* Update extension docs

* Update doc

* docs: include hideHandles configuration in our configuration docs

* chore: default to hiding handles for annotations

* chore: switch to drawHandlesOnHover to mimic legacy viewer functionality

* Flip logic for drawHandlesOnHover; reverse of hideHandles

* Don't hide the handles of ellipse or rectangle roi

* invert check

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
This commit is contained in:
Igor OctavianoandDanny Brown authored and Danny Brown committed 2019-12-20 12:15:40 -05:00
1 parent 6c160f517f
commit 63594d36b0
8 files changed
+101 -37

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@
"devDependencies": {
"@ohif/core": "^2.2.1",
"@ohif/ui": "^1.1.5",
"cornerstone-tools": "^4.8.0",
"cornerstone-tools": "^4.9.0",
"cornerstone-wado-image-loader": "^3.0.0",
"dicom-parser": "^1.8.3",
"gh-pages": "^2.0.1",