hellfire 0.25.3 → 0.25.5

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,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.25.5](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.4...v0.25.5) (2023-01-30)
6
+
7
+
8
+
9
+ ## [0.25.4](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.3...v0.25.4) (2023-01-18)
10
+
11
+
12
+
5
13
  ## [0.25.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.2...v0.25.3) (2023-01-16)
6
14
 
7
15
 
package/dist/index.js CHANGED
@@ -32298,12 +32298,12 @@ var OverlayTool = /*#__PURE__*/function (_BaseTool) {
32298
32298
  layerCanvas.width = imageWidth;
32299
32299
  layerCanvas.height = imageHeight;
32300
32300
  var layerContext = layerCanvas.getContext('2d');
32301
- layerContext.fillStyle = overlay.fillStyle || 'white';
32302
-
32303
- if (overlay.type === 'R') {
32304
- layerContext.fillRect(0, 0, layerCanvas.width, layerCanvas.height);
32305
- layerContext.globalCompositeOperation = 'xor';
32306
- }
32301
+ layerContext.fillStyle = overlay.fillStyle || 'white'; // 目前为了解决T11262
32302
+ // 不清楚这块代码原来的逻辑,overlay type有R和G两种,xor可以产生重叠部分透明的效果,但是目前没发现为什么要加这一层,所以先注释
32303
+ // if (overlay.type === 'R') {
32304
+ // layerContext.fillRect(0, 0, layerCanvas.width, layerCanvas.height);
32305
+ // layerContext.globalCompositeOperation = 'xor';
32306
+ // }
32307
32307
 
32308
32308
  var i = 0;
32309
32309
 
@@ -60139,6 +60139,11 @@ var mergeProps$p = function mergeProps(propsFromState, propsFromDispatch, ownPro
60139
60139
 
60140
60140
  var totalCount = propsFromState.currentSeries && propsFromState.currentSeries.imageIds.length || 0;
60141
60141
  var stepTime = lodash$1.floor(10 * 1000 / totalCount);
60142
+
60143
+ if (totalCount < 30) {
60144
+ stepTime = lodash$1.floor(10 * 1000 / 30);
60145
+ }
60146
+
60142
60147
  var throttleForwardFunc = throttle$9(forwardFunc, stepTime);
60143
60148
  var throttleBackFunc = throttle$9(backFunc, stepTime);
60144
60149
  /**