Refactoring

This commit is contained in:
OVSharova 2021-10-25 11:59:30 +03:00
parent 205750bb82
commit b9a3131e2c

View file

@ -143,9 +143,7 @@ define([
var type = record.get('value'); var type = record.get('value');
var parameter = this._state.EffectType; var parameter = this._state.EffectType;
if (this.Effect !== type && if (this.Effect !== type)
!((this.Effect === Asc.c_oAscSlideTransitionTypes.Wipe || this.Effect === Asc.c_oAscSlideTransitionTypes.UnCover || this.Effect === Asc.c_oAscSlideTransitionTypes.Cover)&&
(type === Asc.c_oAscSlideTransitionTypes.Wipe || type === Asc.c_oAscSlideTransitionTypes.UnCover || type === Asc.c_oAscSlideTransitionTypes.Cover)))
parameter = this.view.setMenuParameters(type); parameter = this.view.setMenuParameters(type);
this._state.Effect = type; this._state.Effect = type;