Browse Source

Fix GUI validation test hanging

Popov72 4 năm trước cách đây
mục cha
commit
24823264c0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      gui/src/2D/advancedDynamicTexture.ts

+ 1 - 0
gui/src/2D/advancedDynamicTexture.ts

@@ -359,6 +359,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
             this._resizeObserver = scene.getEngine().onResizeObservable.add(() => this._onResize());
             this._onResize();
         }
+        this._texture.isReady = true;
     }
     /**
     * Get the current class name of the texture useful for serialization or dynamic coding.