[PE] Fix animation init
This commit is contained in:
parent
d6c254f5cf
commit
5cb7f09c67
|
@ -83,7 +83,6 @@ define([
|
||||||
'tab:active': _.bind(this.onActiveTab, this)
|
'tab:active': _.bind(this.onActiveTab, this)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.EffectGroups = Common.define.effectData.getEffectGroupData();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onLaunch: function () {
|
onLaunch: function () {
|
||||||
|
@ -92,6 +91,7 @@ define([
|
||||||
|
|
||||||
setConfig: function (config) {
|
setConfig: function (config) {
|
||||||
this.appConfig = config.mode;
|
this.appConfig = config.mode;
|
||||||
|
this.EffectGroups = Common.define.effectData.getEffectGroupData();
|
||||||
this.view = this.createView('PE.Views.Animation', {
|
this.view = this.createView('PE.Views.Animation', {
|
||||||
toolbar : config.toolbar,
|
toolbar : config.toolbar,
|
||||||
mode : config.mode
|
mode : config.mode
|
||||||
|
|
Loading…
Reference in a new issue