@cornerstonejs/adapters 1.50.1 → 1.50.2

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.
@@ -44468,13 +44468,13 @@ class StackViewport extends Viewport$1 {
44468
44468
  voiRange = this._getVOIRangeForCurrentImage();
44469
44469
  }
44470
44470
  this.setVOI(voiRange);
44471
+ this.setInvertColor(this.initialInvert);
44472
+ this.setInterpolationType(InterpolationType$5.LINEAR);
44471
44473
  if (this.getRotation() !== 0) {
44472
44474
  this.setRotation(0);
44473
44475
  }
44474
- this.setInterpolationType(InterpolationType$5.LINEAR);
44475
44476
  const transferFunction = this.getTransferFunction();
44476
44477
  setTransferFunctionNodes(transferFunction, this.initialTransferFunctionNodes);
44477
- this.setInvertColor(this.initialInvert);
44478
44478
  }
44479
44479
  resetToDefaultProperties() {
44480
44480
  this.cpuRenderingInvalidated = true;