commit
fbbf4d1142
|
@ -4159,9 +4159,10 @@ define([
|
|||
if (frame_pr)
|
||||
menuDropCapAdvanced.setIconCls(frame_pr.get_DropCap()===Asc.c_oAscDropCap.Drop ? 'menu__icon dropcap-intext' : 'menu__icon dropcap-inmargin');
|
||||
|
||||
menuStyleSeparator.setVisible(me.mode.canEditStyles && !isInChart);
|
||||
menuStyle.setVisible(me.mode.canEditStyles && !isInChart);
|
||||
if (me.mode.canEditStyles && !isInChart) {
|
||||
var edit_style = me.mode.canEditStyles && !isInChart && !(value.imgProps && value.imgProps.isSmartArtInternal);
|
||||
menuStyleSeparator.setVisible(edit_style);
|
||||
menuStyle.setVisible(edit_style);
|
||||
if (edit_style) {
|
||||
me.menuStyleUpdate.setCaption(me.updateStyleText.replace('%1', DE.getController('Main').translationTable[window.currentStyleName] || window.currentStyleName));
|
||||
}
|
||||
|
||||
|
|
|
@ -475,9 +475,12 @@ define([
|
|||
this._state.TriggerValue = this.AnimationProperties.asc_getTriggerObjectClick();
|
||||
}
|
||||
this.setTriggerList();
|
||||
} else {
|
||||
this._state.Effect = this._state.EffectGroup = this._state.EffectOption = undefined;
|
||||
if (this.view && this.view.listEffects)
|
||||
this.view.listEffects.fieldPicker.deselectAll();
|
||||
}
|
||||
this.setLocked();
|
||||
|
||||
},
|
||||
|
||||
setTriggerList: function (){
|
||||
|
|
Loading…
Reference in a new issue