[PE] Resize slide menu on first opening
This commit is contained in:
parent
a691eb6454
commit
b88568801e
|
@ -1520,6 +1520,7 @@ define([
|
||||||
if (change && this.mnuSlidePicker)
|
if (change && this.mnuSlidePicker)
|
||||||
picker.options.layout_index = this.mnuSlidePicker.options.layout_index;
|
picker.options.layout_index = this.mnuSlidePicker.options.layout_index;
|
||||||
this.mnuSlidePicker = picker;
|
this.mnuSlidePicker = picker;
|
||||||
|
this.mnuSlidePicker._needRecalcSlideLayout = true;
|
||||||
};
|
};
|
||||||
me.btnsAddSlide.concat(me.btnChangeSlide).forEach(function (btn, index) {
|
me.btnsAddSlide.concat(me.btnChangeSlide).forEach(function (btn, index) {
|
||||||
btn.menu.on('show:before', me.binding.onShowBeforeAddSlide, btn);
|
btn.menu.on('show:before', me.binding.onShowBeforeAddSlide, btn);
|
||||||
|
|
Loading…
Reference in a new issue