@onerjs/gui 8.31.4 → 8.31.6
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.
|
@@ -397,6 +397,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
397
397
|
*/
|
|
398
398
|
this.parseContent = this.parseSerializedObject;
|
|
399
399
|
scene = this.getScene();
|
|
400
|
+
this._rootContainer.isRoot = true;
|
|
400
401
|
if (!scene || !this._texture) {
|
|
401
402
|
return;
|
|
402
403
|
}
|
|
@@ -441,7 +442,6 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
441
442
|
}
|
|
442
443
|
info.skipOnPointerObservable = true;
|
|
443
444
|
});
|
|
444
|
-
this._rootContainer.isRoot = true;
|
|
445
445
|
this._rootContainer._link(this);
|
|
446
446
|
this.hasAlpha = true;
|
|
447
447
|
if (!width || !height) {
|