@whitesev/utils 2.11.10 → 2.11.11

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/dist/index.umd.js CHANGED
@@ -243,7 +243,7 @@
243
243
  const setInterval$1 = (...args) => loadOrReturnBroker().setInterval(...args);
244
244
  const setTimeout$1 = (...args) => loadOrReturnBroker().setTimeout(...args);
245
245
 
246
- const version = "2.11.10";
246
+ const version = "2.11.11";
247
247
 
248
248
  /* eslint-disable */
249
249
  // ==UserScript==
@@ -6310,10 +6310,11 @@
6310
6310
  left: maxRect.left,
6311
6311
  };
6312
6312
  }
6313
- let calcZIndex = zIndex + deviation;
6313
+ const calcZIndex = zIndex + deviation;
6314
6314
  if (calcZIndex >= maxZIndexCompare) {
6315
6315
  // 不要超过最大值
6316
- calcZIndex = maxZIndexCompare;
6316
+ // 超过就忽略
6317
+ return;
6317
6318
  }
6318
6319
  return {
6319
6320
  /** 计算偏移量后的z-index值 */