laymur 0.3.8 → 0.3.9
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 +2 -1
- 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
|
@@ -4770,7 +4770,7 @@ class UIElement extends UIAnchor {
|
|
|
4770
4770
|
/** Internal storage for the current visibility/interaction mode. */
|
|
4771
4771
|
this.modeInternal = UIMode.VISIBLE;
|
|
4772
4772
|
/** Internal storage for the transparency rendering mode. */
|
|
4773
|
-
this.transparencyInternal = UITransparencyMode.
|
|
4773
|
+
this.transparencyInternal = UITransparencyMode.BLEND;
|
|
4774
4774
|
/** Internal storage for the z-index (depth) value. */
|
|
4775
4775
|
this.zIndexInternal = 0;
|
|
4776
4776
|
/**
|
|
@@ -4791,6 +4791,7 @@ class UIElement extends UIAnchor {
|
|
|
4791
4791
|
this.hVariable = this.solverWrapper.createVariable(height, UIPriority.P6);
|
|
4792
4792
|
this.sceneWrapper = layer["getSceneWrapperClientAPI"]();
|
|
4793
4793
|
this.planeHandler = this.sceneWrapper.createPlane(source, uniforms);
|
|
4794
|
+
this.sceneWrapper.setTransparency(this.planeHandler, this.transparencyInternal);
|
|
4794
4795
|
}
|
|
4795
4796
|
/**
|
|
4796
4797
|
* Gets the current width value from the solver.
|