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