igv 3.2.1 → 3.2.2

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
@@ -31912,6 +31912,19 @@
31912
31912
 
31913
31913
  }
31914
31914
 
31915
+ isZoomLevelRenderable() {
31916
+
31917
+ const a = !(undefined === this.zoomInNoticeElement);
31918
+ let b;
31919
+ if (true === a) {
31920
+ b = 'none' === this.zoomInNoticeElement.style.display;
31921
+ } else {
31922
+ b = false;
31923
+ }
31924
+
31925
+ return a === true && b === true
31926
+ }
31927
+
31915
31928
  setContentHeight(contentHeight) {
31916
31929
  super.setContentHeight(contentHeight);
31917
31930
  if (this.featureCache) this.featureCache.redraw = true;
@@ -32355,9 +32368,7 @@
32355
32368
 
32356
32369
  renderSVGContext(context, {deltaX, deltaY}, includeLabel = true) {
32357
32370
 
32358
- const zoomInNotice = this.zoomInNoticeElement && this.zoomInNoticeElement.style.display !== 'flex';
32359
-
32360
- if (!zoomInNotice) {
32371
+ if (true === this.isZoomLevelRenderable()) {
32361
32372
 
32362
32373
  const {width, height} = this.viewportElement.getBoundingClientRect();
32363
32374
 
@@ -69321,7 +69332,7 @@ ${indent}columns: ${matrix.columns}
69321
69332
  })
69322
69333
  }
69323
69334
 
69324
- const _version = "3.2.1";
69335
+ const _version = "3.2.2";
69325
69336
  function version() {
69326
69337
  return _version
69327
69338
  }