@viji-dev/core 0.3.19 → 0.3.20

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.
@@ -73,8 +73,11 @@ class IFrameManager {
73
73
  document.body.appendChild(hiddenContainer);
74
74
  hiddenContainer.appendChild(iframe);
75
75
  } else {
76
+ if (getComputedStyle(this.hostContainer).position === "static") {
77
+ this.hostContainer.style.position = "relative";
78
+ }
76
79
  const visibility = this.initiallyVisible ? "" : "visibility:hidden;";
77
- iframe.style.cssText = `width:100%;height:100%;border:none;display:block;${visibility}`;
80
+ iframe.style.cssText = `position:absolute;top:0;left:0;width:100%;height:100%;border:none;${visibility}`;
78
81
  this.hostContainer.appendChild(iframe);
79
82
  }
80
83
  const iframeContent = this.generateIFrameHTML();
@@ -1913,7 +1916,7 @@ class EssentiaOnsetDetection {
1913
1916
  this.initPromise = (async () => {
1914
1917
  try {
1915
1918
  const essentiaModule = await import("./essentia.js-core.es-DnrJE0uR.js");
1916
- const wasmModule = await import("./essentia-wasm.web-C7QoUtrj.js").then((n) => n.e);
1919
+ const wasmModule = await import("./essentia-wasm.web-MJg8deal.js").then((n) => n.e);
1917
1920
  const EssentiaClass = essentiaModule.Essentia || essentiaModule.default?.Essentia || essentiaModule.default;
1918
1921
  let WASMModule = wasmModule.default || wasmModule.EssentiaWASM || wasmModule.default?.EssentiaWASM;
1919
1922
  if (!WASMModule) {
@@ -16317,4 +16320,4 @@ export {
16317
16320
  VijiCoreError as b,
16318
16321
  getDefaultExportFromCjs as g
16319
16322
  };
16320
- //# sourceMappingURL=index-BKGarA3m.js.map
16323
+ //# sourceMappingURL=index-DW8r2Eux.js.map