@cornerstonejs/core 1.2.8 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "1.2.8",
3
+ "version": "1.3.0",
4
4
  "description": "",
5
5
  "main": "dist/umd/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "type": "individual",
45
45
  "url": "https://ohif.org/donate"
46
46
  },
47
- "gitHead": "1b59634912012888252762259457e616ea330777"
47
+ "gitHead": "2d2a16d47deaee1ad6d6c5b15e84626ae6ecfdf5"
48
48
  }
@@ -333,6 +333,7 @@ abstract class BaseVolumeViewport extends Viewport implements IVolumeViewport {
333
333
  volumeId: volumeIdToUse,
334
334
  VOILUTFunction: this.VOILUTFunction,
335
335
  invert: this.inverted,
336
+ invertStateChanged: true,
336
337
  };
337
338
 
338
339
  triggerEvent(this.element, Events.VOI_MODIFIED, eventDetail);
@@ -42,6 +42,8 @@ type VoiModifiedEventDetail = {
42
42
  VOILUTFunction?: VOILUTFunctionType;
43
43
  /** inverted */
44
44
  invert?: boolean;
45
+ /** Indicates if the 'invert' state has changed from the previous state */
46
+ invertStateChanged?: boolean;
45
47
  };
46
48
 
47
49
  /**