@oncokb/oncotree
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -757,2 +757,10 @@ import "./index.css"; | ||
const scaleY = __privateGet(this, _viewerHeight) / (height + 75); | ||
window.addEventListener("resize", () => { | ||
const scaleX2 = containerNode.clientWidth / (width + 75); | ||
const scaleY2 = containerNode.clientHeight / (height + 75); | ||
__privateGet(this, _zoomListener).scaleTo( | ||
__privateGet(this, _svg), | ||
Math.min(scaleX2, scaleY2), | ||
); | ||
}); | ||
__privateGet(this, _zoomListener).scaleTo( | ||
@@ -759,0 +767,0 @@ __privateGet(this, _svg), |
{ | ||
"name": "@oncokb/oncotree", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/oncotree.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110286
2658