Refactoring
This commit is contained in:
parent
205750bb82
commit
b9a3131e2c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue