From b88568801e77d375e308878f1d0aabc085220f63 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 11 Oct 2019 13:22:07 +0300 Subject: [PATCH] [PE] Resize slide menu on first opening --- apps/presentationeditor/main/app/view/Toolbar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/presentationeditor/main/app/view/Toolbar.js b/apps/presentationeditor/main/app/view/Toolbar.js index ee4c99e5c..6184c11ba 100644 --- a/apps/presentationeditor/main/app/view/Toolbar.js +++ b/apps/presentationeditor/main/app/view/Toolbar.js @@ -1520,6 +1520,7 @@ define([ if (change && this.mnuSlidePicker) picker.options.layout_index = this.mnuSlidePicker.options.layout_index; this.mnuSlidePicker = picker; + this.mnuSlidePicker._needRecalcSlideLayout = true; }; me.btnsAddSlide.concat(me.btnChangeSlide).forEach(function (btn, index) { btn.menu.on('show:before', me.binding.onShowBeforeAddSlide, btn);