mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-27 06:35:51 +08:00
Fix bug
This commit is contained in:
@ -182,7 +182,7 @@ define([
|
||||
},
|
||||
|
||||
addNewEffect: function (type, group, groupName, replace) {
|
||||
if (this._state.Effect == type) return;
|
||||
if (this._state.Effect == type && this._state.EffectGroup == group) return;
|
||||
var parameter = this.view.setMenuParameters(type, groupName, undefined);
|
||||
this.api.asc_AddAnimation(group, type, (parameter != undefined)?parameter:0, replace);
|
||||
this._state.EffectGroup = group;
|
||||
|
||||
Reference in New Issue
Block a user