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