hellfire 0.17.10 → 0.17.11

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.17.11](http://10.16.100.57/diffusion/115/paladin/compare/v0.17.10...v0.17.11) (2021-12-30)
6
+
7
+
8
+
5
9
  ## [0.17.10](http://10.16.100.57/diffusion/115/paladin/compare/v0.17.9...v0.17.10) (2021-12-30)
6
10
 
7
11
 
package/dist/index.js CHANGED
@@ -51883,6 +51883,7 @@ var DicomView = /*#__PURE__*/function (_Component) {
51883
51883
  var seriesCurrentIndex = reduxState.viewport.seriesCurrentIndex;
51884
51884
  var row = reduxState.tools.layout.row;
51885
51885
  var col = reduxState.tools.layout.col;
51886
+ var currentScrollLine = reduxState.tools.layout.currentScrollLine;
51886
51887
 
51887
51888
  try {
51888
51889
  var elements = lodash$1.map(Array(row * col), function (v, n) {
@@ -51898,9 +51899,10 @@ var DicomView = /*#__PURE__*/function (_Component) {
51898
51899
 
51899
51900
  for (var i = 0; i < elements.length; i++) {
51900
51901
  if (elements[i]) {
51901
- var scrollIndex = seriesCurrentIndex[i];
51902
+ var realIndex = col * currentScrollLine + i;
51903
+ var scrollIndex = seriesCurrentIndex[realIndex];
51902
51904
  cornerstoneTools.scrollToIndex(elements[i], scrollIndex);
51903
- var cacheViewport = imageViewports[i][scrollIndex];
51905
+ var cacheViewport = imageViewports[realIndex][scrollIndex];
51904
51906
 
51905
51907
  if (cacheViewport && !lodash$1.isEmpty(cacheViewport)) {
51906
51908
  cornerstone.setViewport(elements[i], cacheViewport);