hellfire 0.30.6 → 0.30.8
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 +8 -0
- package/dist/index.js +28 -8
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.30.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.7...v0.30.8) (2025-08-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.30.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.6...v0.30.7) (2025-08-05)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.30.6](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.5...v0.30.6) (2025-08-01)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -55908,16 +55908,32 @@ var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
|
55908
55908
|
return;
|
|
55909
55909
|
}
|
|
55910
55910
|
|
|
55911
|
-
var
|
|
55912
|
-
var timeSinceLastClick = currentTime - _this.lastRightClickTime;
|
|
55911
|
+
var series = _this.props.series;
|
|
55913
55912
|
|
|
55914
|
-
if (
|
|
55915
|
-
|
|
55916
|
-
_this.props.onViewPortDoubleClick && _this.props.onViewPortDoubleClick(index, series[index], true);
|
|
55917
|
-
_this.lastRightClickTime = 0;
|
|
55913
|
+
if (_this.rightClickCount === 2) {
|
|
55914
|
+
_this.rightClickCount = 1;
|
|
55918
55915
|
} else {
|
|
55919
|
-
_this.
|
|
55916
|
+
_this.rightClickCount++;
|
|
55920
55917
|
}
|
|
55918
|
+
|
|
55919
|
+
var clientX = e.clientX,
|
|
55920
|
+
clientY = e.clientY;
|
|
55921
|
+
|
|
55922
|
+
if (_this.rightClickCount === 2) {
|
|
55923
|
+
if (!_this.checkClickArea(15, _this.rightClientX, _this.rightClientY, clientX, clientY)) {
|
|
55924
|
+
_this.rightClickCount = 1;
|
|
55925
|
+
}
|
|
55926
|
+
}
|
|
55927
|
+
|
|
55928
|
+
_this.rightClientX = clientX;
|
|
55929
|
+
_this.rightClientY = clientY;
|
|
55930
|
+
setTimeout(function () {
|
|
55931
|
+
if (_this.rightClickCount === 2) {
|
|
55932
|
+
_this.props.onViewPortDoubleClick && _this.props.onViewPortDoubleClick(index, series[index], true);
|
|
55933
|
+
}
|
|
55934
|
+
|
|
55935
|
+
_this.rightClickCount = 0;
|
|
55936
|
+
}, 300);
|
|
55921
55937
|
});
|
|
55922
55938
|
|
|
55923
55939
|
defineProperty(assertThisInitialized(_this), "handleViewPortClick", function (e, index) {
|
|
@@ -56000,12 +56016,16 @@ var DicomLayout = /*#__PURE__*/function (_Component) {
|
|
|
56000
56016
|
|
|
56001
56017
|
_this.clickCount = 0; // 点击次数 判断单双击
|
|
56002
56018
|
|
|
56003
|
-
_this.
|
|
56019
|
+
_this.rightClickCount = 0; // 右键点击次数 判断单双击
|
|
56004
56020
|
|
|
56005
56021
|
_this.clientX = 0; // 上一次点击的记录
|
|
56006
56022
|
|
|
56007
56023
|
_this.clientY = 0; // 上一次点击的记录
|
|
56008
56024
|
|
|
56025
|
+
_this.rightClientX = 0; // 右键上一次点击的记录
|
|
56026
|
+
|
|
56027
|
+
_this.rightClientY = 0; // 右键上一次点击的记录
|
|
56028
|
+
|
|
56009
56029
|
_this.mouseDownclientX = 0; // mousedown位置的记录 为判断是否触发单击操作
|
|
56010
56030
|
|
|
56011
56031
|
_this.mouseDownclientY = 0; // 窗口变化要重新渲染滚动条的距离
|