@cornerstonejs/adapters 1.59.1 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters.es.js +3 -2
- package/dist/adapters.es.js.map +1 -1
- package/package.json +5 -5
package/dist/adapters.es.js
CHANGED
|
@@ -5096,7 +5096,8 @@ var Events$2;
|
|
|
5096
5096
|
Events["STACK_VIEWPORT_NEW_STACK"] = "CORNERSTONE_STACK_VIEWPORT_NEW_STACK";
|
|
5097
5097
|
Events["STACK_VIEWPORT_SCROLL"] = "CORNERSTONE_STACK_VIEWPORT_SCROLL";
|
|
5098
5098
|
Events["GEOMETRY_CACHE_GEOMETRY_ADDED"] = "CORNERSTONE_GEOMETRY_CACHE_GEOMETRY_ADDED";
|
|
5099
|
-
Events["VOLUME_SCROLL_OUT_OF_BOUNDS"] = "
|
|
5099
|
+
Events["VOLUME_SCROLL_OUT_OF_BOUNDS"] = "VOLUME_SCROLL_OUT_OF_BOUNDS";
|
|
5100
|
+
Events["VOLUME_VIEWPORT_SCROLL"] = "VOLUME_VIEWPORT_SCROLL";
|
|
5100
5101
|
Events["CLIPPING_PLANES_UPDATED"] = "CORNERSTONE_CLIPPING_PLANES_UPDATED";
|
|
5101
5102
|
Events["WEB_WORKER_PROGRESS"] = "CORNERSTONE_WEB_WORKER_PROGRESS";
|
|
5102
5103
|
Events["COLORMAP_MODIFIED"] = "CORNERSTONE_COLORMAP_MODIFIED";
|
|
@@ -48306,7 +48307,7 @@ class FrameOfReferenceSpecificAnnotationManager {
|
|
|
48306
48307
|
return [];
|
|
48307
48308
|
}
|
|
48308
48309
|
if (toolName) {
|
|
48309
|
-
return annotations[groupKey][toolName];
|
|
48310
|
+
return annotations[groupKey][toolName] ? annotations[groupKey][toolName] : [];
|
|
48310
48311
|
}
|
|
48311
48312
|
return annotations[groupKey];
|
|
48312
48313
|
};
|