hellfire 0.28.12 → 0.28.13
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 +4 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.28.13](http://10.16.100.57/diffusion/115/paladin/compare/v0.28.12...v0.28.13) (2024-12-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.28.12](http://10.16.100.57/diffusion/115/paladin/compare/v0.28.11...v0.28.12) (2024-12-23)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -49490,7 +49490,9 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
|
49490
49490
|
var windowWidth = parseFloat(viewport.voi.windowWidth) || 0;
|
|
49491
49491
|
var windowCenter = parseFloat(viewport.voi.windowCenter) || 0;
|
|
49492
49492
|
var acquisitionMatrix = dicom.AcquisitionMatrix.value;
|
|
49493
|
-
var sliceLocation = dicom.SliceLocation.value && parseFloat(dicom.SliceLocation.value).toFixed(2);
|
|
49493
|
+
var sliceLocation = dicom.SliceLocation.value && parseFloat(dicom.SliceLocation.value).toFixed(2); // 当长度大于20时,不显示
|
|
49494
|
+
|
|
49495
|
+
var imageComments = dicom.ImageComments.toString();
|
|
49494
49496
|
return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("div", {
|
|
49495
49497
|
style: {
|
|
49496
49498
|
position: 'absolute',
|
|
@@ -49527,7 +49529,7 @@ var ViewportOverlay = /*#__PURE__*/function (_PureComponent) {
|
|
|
49527
49529
|
fontSize: "".concat(fontSize, "px"),
|
|
49528
49530
|
display: "".concat(hide ? 'none' : 'block')
|
|
49529
49531
|
}
|
|
49530
|
-
}, /*#__PURE__*/React__default.createElement("div", null, "W: ", windowWidth.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, "C: ", windowCenter.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, zoom, "X"), /*#__PURE__*/React__default.createElement("div", null, getFov(dicom, imageId)), /*#__PURE__*/React__default.createElement("div", null, getMat(acquisitionMatrix)), (sliceLocation || sliceLocation === 0) && /*#__PURE__*/React__default.createElement("div", null, "Location: ", sliceLocation)));
|
|
49532
|
+
}, /*#__PURE__*/React__default.createElement("div", null, "W: ", windowWidth.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, "C: ", windowCenter.toFixed(0)), /*#__PURE__*/React__default.createElement("div", null, zoom, "X"), /*#__PURE__*/React__default.createElement("div", null, getFov(dicom, imageId)), /*#__PURE__*/React__default.createElement("div", null, getMat(acquisitionMatrix)), (sliceLocation || sliceLocation === 0) && /*#__PURE__*/React__default.createElement("div", null, "Location: ", sliceLocation), imageComments && imageComments.length < 20 && /*#__PURE__*/React__default.createElement("div", null, imageComments)));
|
|
49531
49533
|
}
|
|
49532
49534
|
}]);
|
|
49533
49535
|
|