btnParametrs add scroller

This commit is contained in:
OVSharova 2021-08-03 22:41:10 +03:00
parent 4869a9a604
commit ccb74fe46a

View file

@ -190,7 +190,9 @@ define([
caption: this.txtParametrs,
iconCls: 'toolbar__icon icon btn-insertshape',
disabled:true,
menu: new Common.UI.Menu({items: this.createParametrsMenuItems()}),
menu: new Common.UI.Menu({
maxHeight:115,
items: this.createParametrsMenuItems()}),
lock:[_set.slideDeleted,_set.noSlides,_set.disableOnStart,_set.transitLock]
});
this.lockedControls.push(this.btnParametrs);
@ -387,9 +389,6 @@ define([
if(effect!=Asc.c_oAscSlideTransitionTypes.None)
selectedElement.setChecked(true);
var n=Math.floor((minMax[1]-minMax[0])/4) + 1;
selectedElement.$el.parent().css('column-count',n);
if(!this.listEffects.isDisabled()) {
this.numDelay.setDisabled(this.chDelay.getValue()!=='checked');
this.btnParametrs.setDisabled(effect === Asc.c_oAscSlideTransitionTypes.None);