[PE] Fix animation init

This commit is contained in:
Julia Radzhabova 2022-01-10 13:15:44 +03:00
parent d6c254f5cf
commit 5cb7f09c67

View file

@ -83,7 +83,6 @@ define([
'tab:active': _.bind(this.onActiveTab, this)
}
});
this.EffectGroups = Common.define.effectData.getEffectGroupData();
},
onLaunch: function () {
@ -92,6 +91,7 @@ define([
setConfig: function (config) {
this.appConfig = config.mode;
this.EffectGroups = Common.define.effectData.getEffectGroupData();
this.view = this.createView('PE.Views.Animation', {
toolbar : config.toolbar,
mode : config.mode