Merge pull request #893 from NativeScript/hhristov/apply-css-fix

isLoaded is set before calling applyStyleFromScope
This commit is contained in:
Hristo Hristov
2015-10-07 13:05:44 +03:00

View File

@ -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");
}