From 171e545213268f00e94b56245d7261b80635aebc Mon Sep 17 00:00:00 2001 From: hshristov Date: Wed, 7 Oct 2015 11:13:29 +0300 Subject: [PATCH] isLoaded is set before calling applyStyleFromScope --- ui/core/view-common.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/core/view-common.ts b/ui/core/view-common.ts index 330960ee0..42fd3d66d 100644 --- a/ui/core/view-common.ts +++ b/ui/core/view-common.ts @@ -549,11 +549,9 @@ export class View extends proxy.ProxyObject implements definition.View { } public onLoaded() { - this._loadEachChildView(); - - this._applyStyleFromScope(); - this._isLoaded = true; + this._loadEachChildView(); + this._applyStyleFromScope(); this._emit("loaded"); }