@antv/g-lite 1.3.0-next.17 → 1.3.0-next.18

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.esm.js CHANGED
@@ -7510,8 +7510,8 @@ function sortedIndex(array, value) {
7510
7510
  return low;
7511
7511
  }
7512
7512
  function sortByZIndex(o1, o2) {
7513
- var zIndex1 = Number(o1.parsedStyle.zIndex);
7514
- var zIndex2 = Number(o2.parsedStyle.zIndex);
7513
+ var zIndex1 = Number(o1.parsedStyle.zIndex || 0);
7514
+ var zIndex2 = Number(o2.parsedStyle.zIndex || 0);
7515
7515
  if (zIndex1 === zIndex2) {
7516
7516
  var parent_1 = o1.parentNode;
7517
7517
  if (parent_1) {