fix(toolVisibility) Update Cornerstone libraries to support tool visibility switching. Update custom tools with visible flag support
This commit is contained in:
1 parent
c296cbb823
commit
5373963176
4 files changed
+12
-2
No files matched your search
+4
@@ -41,6 +41,10 @@ export default function(event) {
|
||||
|
||||
for (let i = 0; i < toolData.data.length; i++) {
|
||||
const data = toolData.data[i];
|
||||
if (data.visible === false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const { start, end, perpendicularStart, perpendicularEnd, textBox } = data.handles;
|
||||
const strokeWidth = lineWidth;
|
||||
|
||||
|
||||
Reference in new issue
Block a user