@mml-io/mml-web-client 0.0.0-experimental-2f07d9b-20250417 → 0.0.0-experimental-fcca99c-20250422

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/build/index.js CHANGED
@@ -5418,6 +5418,7 @@
5418
5418
  var _Frame = class _Frame2 extends TransformableElement {
5419
5419
  constructor() {
5420
5420
  super();
5421
+ this.hasInitialized = false;
5421
5422
  this.frameContentsInstance = null;
5422
5423
  this.isActivelyLoaded = false;
5423
5424
  this.timer = null;
@@ -5456,6 +5457,9 @@
5456
5457
  }
5457
5458
  }
5458
5459
  shouldBeLoaded() {
5460
+ if (!this.hasInitialized) {
5461
+ return false;
5462
+ }
5459
5463
  if (!this.isConnected) {
5460
5464
  return false;
5461
5465
  }
@@ -5567,8 +5571,6 @@
5567
5571
  return;
5568
5572
  }
5569
5573
  const graphicsAdapter = this.getScene().getGraphicsAdapter();
5570
- this.startEmitting();
5571
- this.syncLoadState();
5572
5574
  this.frameGraphics = graphicsAdapter.getGraphicsAdapterFactory().MMLFrameGraphicsInterface(this);
5573
5575
  for (const name of _Frame2.observedAttributes) {
5574
5576
  const value = this.getAttribute(name);
@@ -5576,6 +5578,9 @@
5576
5578
  this.attributeChangedCallback(name, null, value);
5577
5579
  }
5578
5580
  }
5581
+ this.hasInitialized = true;
5582
+ this.startEmitting();
5583
+ this.syncLoadState();
5579
5584
  this.applyBounds();
5580
5585
  }
5581
5586
  disconnectedCallback() {