Merge pull request #1458 from ONLYOFFICE/fix/pe-animation

[PE] Fix animation init
This commit is contained in:
Julia Radzhabova 2022-01-10 13:23:54 +03:00 committed by GitHub
commit 0d68ac8d7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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