igv 2.15.11 → 2.15.12

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/igv.js CHANGED
@@ -25622,7 +25622,7 @@
25622
25622
  }
25623
25623
  };
25624
25624
 
25625
- const _version = "2.15.11";
25625
+ const _version = "2.15.12";
25626
25626
  function version() {
25627
25627
  return _version
25628
25628
  }
@@ -41916,11 +41916,7 @@
41916
41916
  if (name === undefined) name = feature.id || feature.ID;
41917
41917
  if (!name || name === '.') return
41918
41918
 
41919
-
41920
- let pixelXOffset = options.pixelXOffset || 0;
41921
- const t1 = Math.max(featureX, -pixelXOffset);
41922
- const t2 = Math.min(featureX1, -pixelXOffset + options.viewportWidth);
41923
- let centerX = (t1 + t2) / 2;
41919
+ let centerX = (featureX + featureX1) / 2;
41924
41920
 
41925
41921
  let transform;
41926
41922
  if (this.displayMode === "COLLAPSED" && this.labelDisplayMode === "SLANT") {