Browse Source

Property isReady set too early

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

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

@@ -357,7 +357,6 @@ 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.