igv 3.1.2 → 3.1.3

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.esm.js CHANGED
@@ -33157,7 +33157,7 @@ class BWReader {
33157
33157
  if (this.type === "bigwig") {
33158
33158
  return "wig"
33159
33159
  } else {
33160
- return this.autoSql && this.autoSql.table === "chromatinInteract" ? "interact" : "annotation"
33160
+ return this.autoSql && ("interact" === this.autoSql.table || "chromatinInteract" === this.autoSql.table) ? "interact" : "annotation"
33161
33161
  }
33162
33162
  }
33163
33163
 
@@ -40057,8 +40057,8 @@ class TrackViewport extends Viewport {
40057
40057
  checkZoomIn() {
40058
40058
 
40059
40059
  const zoomedOutOfWindow = () => {
40060
- if (this.referenceFrame.chr.toLowerCase() === "all" && !this.trackView.track.supportsWholeGenome) {
40061
- return true
40060
+ if (this.referenceFrame.chr.toLowerCase() === "all") {
40061
+ return !this.trackView.track.supportsWholeGenome
40062
40062
  } else {
40063
40063
  const visibilityWindow = this.trackView.track.visibilityWindow;
40064
40064
  return (
@@ -60022,7 +60022,7 @@ class InteractionTrack extends TrackBase {
60022
60022
  }
60023
60023
 
60024
60024
  get supportsWholeGenome() {
60025
- return true
60025
+ return typeof this.featureSource.supportsWholeGenome === 'function' ? this.featureSource.supportsWholeGenome() : true;
60026
60026
  }
60027
60027
 
60028
60028
  async getFeatures(chr, start, end) {
@@ -72568,7 +72568,7 @@ function createReferenceFrameList(loci, genome, browserFlanking, minimumBases, v
72568
72568
  })
72569
72569
  }
72570
72570
 
72571
- const _version = "3.1.2";
72571
+ const _version = "3.1.3";
72572
72572
  function version() {
72573
72573
  return _version
72574
72574
  }