Commit 7dc8c753 authored by Julia Radzhabova's avatar Julia Radzhabova

[PE] Fix Bug 32042.

parent b3e6c313
...@@ -188,6 +188,12 @@ define([ ...@@ -188,6 +188,12 @@ define([
var onFocusObject = function(selectedElements) { var onFocusObject = function(selectedElements) {
if (me.mode.isEdit && me.currentMenu && me.currentMenu.isVisible()){ if (me.mode.isEdit && me.currentMenu && me.currentMenu.isVisible()){
if (me.api.asc_getCurrentFocusObject() === 0 ){ // thumbnails
if (me.slideMenu===me.currentMenu) {
me.currentMenu.options.initMenu({isSlideSelect: me.slideMenu.items[2].isVisible(), fromThumbs: true});
me.currentMenu.alignPosition();
}
} else {
var obj = fillMenuProps(selectedElements); var obj = fillMenuProps(selectedElements);
if (obj) { if (obj) {
if (obj.menu_to_show===me.currentMenu) { if (obj.menu_to_show===me.currentMenu) {
...@@ -196,6 +202,7 @@ define([ ...@@ -196,6 +202,7 @@ define([
} }
} }
} }
}
}; };
var handleDocumentWheel = function(event){ var handleDocumentWheel = function(event){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment