[PE] Fix Bug 55981

This commit is contained in:
Julia Radzhabova 2022-03-10 20:08:30 +03:00
parent a9e204d145
commit e81e88f2a9

View file

@ -63,7 +63,8 @@ define([
me.fireEvent('animation:selecteffect', [combo, record]); me.fireEvent('animation:selecteffect', [combo, record]);
}, me)); }, me));
me.listEffectsMore.on('click', _.bind(function () { me.listEffectsMore.on('click', _.bind(function () {
me.fireEvent('animation:additional', [me.listEffects.menuPicker.getSelectedRec().get('value') != AscFormat.ANIM_PRESET_NONE]); // replace effect var rec = me.listEffects.menuPicker.getSelectedRec();
me.fireEvent('animation:additional', [!(rec && rec.get('value') === AscFormat.ANIM_PRESET_NONE)]); // replace effect
}, me)); }, me));
} }