laymur 0.11.2 → 0.11.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/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5527,6 +5527,9 @@ class UIElement extends UIDummy {
|
|
|
5527
5527
|
options?.transparencyMode ?? ELEMENT_DEFAULT_TRANSPARENCY_MODE;
|
|
5528
5528
|
this.sceneWrapper = this.layer.sceneWrapper;
|
|
5529
5529
|
this.planeHandler = this.sceneWrapper.createPlane(source, properties, this._private_transparencyModeInternal);
|
|
5530
|
+
if (options?.mode !== undefined && !isUIModeVisible(options.mode)) {
|
|
5531
|
+
this._private_visibilityDirty = true;
|
|
5532
|
+
}
|
|
5530
5533
|
this.layer.on(UILayerEvent.RENDERING, this.onWillRender, this);
|
|
5531
5534
|
}
|
|
5532
5535
|
/** Alpha blending mode */
|