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.js CHANGED
@@ -33163,7 +33163,7 @@
33163
33163
  if (this.type === "bigwig") {
33164
33164
  return "wig"
33165
33165
  } else {
33166
- return this.autoSql && this.autoSql.table === "chromatinInteract" ? "interact" : "annotation"
33166
+ return this.autoSql && ("interact" === this.autoSql.table || "chromatinInteract" === this.autoSql.table) ? "interact" : "annotation"
33167
33167
  }
33168
33168
  }
33169
33169
 
@@ -40063,8 +40063,8 @@
40063
40063
  checkZoomIn() {
40064
40064
 
40065
40065
  const zoomedOutOfWindow = () => {
40066
- if (this.referenceFrame.chr.toLowerCase() === "all" && !this.trackView.track.supportsWholeGenome) {
40067
- return true
40066
+ if (this.referenceFrame.chr.toLowerCase() === "all") {
40067
+ return !this.trackView.track.supportsWholeGenome
40068
40068
  } else {
40069
40069
  const visibilityWindow = this.trackView.track.visibilityWindow;
40070
40070
  return (
@@ -60028,7 +60028,7 @@
60028
60028
  }
60029
60029
 
60030
60030
  get supportsWholeGenome() {
60031
- return true
60031
+ return typeof this.featureSource.supportsWholeGenome === 'function' ? this.featureSource.supportsWholeGenome() : true;
60032
60032
  }
60033
60033
 
60034
60034
  async getFeatures(chr, start, end) {
@@ -72574,7 +72574,7 @@
72574
72574
  })
72575
72575
  }
72576
72576
 
72577
- const _version = "3.1.2";
72577
+ const _version = "3.1.3";
72578
72578
  function version() {
72579
72579
  return _version
72580
72580
  }