[PE][SSE] Fix list settings for different image bullets

This commit is contained in:
Julia Radzhabova 2022-04-13 16:59:46 +03:00
parent 97e7c43e93
commit 0a3f0b973b

View file

@ -452,7 +452,8 @@ define([
}, },
ShowHideElem: function(value) { ShowHideElem: function(value) {
var isImage = value==0 && (this.cmbBulletFormat.getValue()===_BulletTypes.image || this.cmbBulletFormat.getValue()===_BulletTypes.newImage); var isImage = value==0 && (this.cmbBulletFormat.getValue()===_BulletTypes.image || this.cmbBulletFormat.getValue()===_BulletTypes.newImage ||
(this.cmbBulletFormat.getValue()===undefined || this.cmbBulletFormat.getValue()==='') && this.originalType === AscFormat.BULLET_TYPE_BULLET_BLIP);
this.numberingControls.toggleClass('hidden', value==0); this.numberingControls.toggleClass('hidden', value==0);
this.imageControls.toggleClass('hidden', !isImage); this.imageControls.toggleClass('hidden', !isImage);
this.colorControls.toggleClass('hidden', isImage); this.colorControls.toggleClass('hidden', isImage);