[SSE] Fix context menu for image/shape when image/shape is selected after plugin object
This commit is contained in:
parent
03b81f8007
commit
cc4790ff70
|
@ -2370,6 +2370,7 @@ define([
|
||||||
caption: this.textRotate270,
|
caption: this.textRotate270,
|
||||||
value : 0
|
value : 0
|
||||||
}).on('click', _.bind(me.onImgRotate, me)),
|
}).on('click', _.bind(me.onImgRotate, me)),
|
||||||
|
{ caption: '--' },
|
||||||
new Common.UI.MenuItem({
|
new Common.UI.MenuItem({
|
||||||
caption: this.textFlipH,
|
caption: this.textFlipH,
|
||||||
value : 1
|
value : 1
|
||||||
|
|
|
@ -2807,6 +2807,7 @@ define([
|
||||||
caption: me.textRotate270,
|
caption: me.textRotate270,
|
||||||
value : 0
|
value : 0
|
||||||
}).on('click', _.bind(onImgRotate, me)),
|
}).on('click', _.bind(onImgRotate, me)),
|
||||||
|
{ caption: '--' },
|
||||||
new Common.UI.MenuItem({
|
new Common.UI.MenuItem({
|
||||||
caption: me.textFlipH,
|
caption: me.textFlipH,
|
||||||
value : 1
|
value : 1
|
||||||
|
|
|
@ -1468,6 +1468,8 @@ define([
|
||||||
if (!documentHolder.imgMenu || !showMenu && !documentHolder.imgMenu.isVisible()) return;
|
if (!documentHolder.imgMenu || !showMenu && !documentHolder.imgMenu.isVisible()) return;
|
||||||
|
|
||||||
isimagemenu = isshapemenu = ischartmenu = false;
|
isimagemenu = isshapemenu = ischartmenu = false;
|
||||||
|
documentHolder.mnuImgAdvanced.imageInfo = undefined;
|
||||||
|
|
||||||
var has_chartprops = false,
|
var has_chartprops = false,
|
||||||
signGuid;
|
signGuid;
|
||||||
var selectedObjects = this.api.asc_getGraphicObjectProps();
|
var selectedObjects = this.api.asc_getGraphicObjectProps();
|
||||||
|
|
|
@ -704,6 +704,7 @@ define([
|
||||||
type : 'rotate',
|
type : 'rotate',
|
||||||
value : 0
|
value : 0
|
||||||
}),
|
}),
|
||||||
|
{ caption: '--' },
|
||||||
new Common.UI.MenuItem({
|
new Common.UI.MenuItem({
|
||||||
caption: me.textFlipH,
|
caption: me.textFlipH,
|
||||||
type : 'flip',
|
type : 'flip',
|
||||||
|
|
Loading…
Reference in a new issue