[DE] Enable arrange for grouped shapes
This commit is contained in:
parent
c12aae8a0f
commit
f3e7deb846
|
@ -147,7 +147,7 @@ define([
|
||||||
|
|
||||||
disable.align = islocked || wrapping == Asc.c_oAscWrapStyle2.Inline || content_locked;
|
disable.align = islocked || wrapping == Asc.c_oAscWrapStyle2.Inline || content_locked;
|
||||||
disable.group = islocked || wrapping == Asc.c_oAscWrapStyle2.Inline || content_locked;
|
disable.group = islocked || wrapping == Asc.c_oAscWrapStyle2.Inline || content_locked;
|
||||||
disable.arrange = wrapping == Asc.c_oAscWrapStyle2.Inline || content_locked;
|
disable.arrange = (wrapping == Asc.c_oAscWrapStyle2.Inline) && !props.get_FromGroup() || content_locked;
|
||||||
disable.wrapping = islocked || props.get_FromGroup() || (notflow && !me.api.CanChangeWrapPolygon()) || content_locked || (!!control_props && control_props.get_SpecificType()==Asc.c_oAscContentControlSpecificType.Picture);
|
disable.wrapping = islocked || props.get_FromGroup() || (notflow && !me.api.CanChangeWrapPolygon()) || content_locked || (!!control_props && control_props.get_SpecificType()==Asc.c_oAscContentControlSpecificType.Picture);
|
||||||
|
|
||||||
if ( !disable.group ) {
|
if ( !disable.group ) {
|
||||||
|
|
|
@ -2640,7 +2640,7 @@ define([
|
||||||
menuImageAlign.menu.items[7].setDisabled(objcount==2 && (!alignto || alignto==3));
|
menuImageAlign.menu.items[7].setDisabled(objcount==2 && (!alignto || alignto==3));
|
||||||
menuImageAlign.menu.items[8].setDisabled(objcount==2 && (!alignto || alignto==3));
|
menuImageAlign.menu.items[8].setDisabled(objcount==2 && (!alignto || alignto==3));
|
||||||
}
|
}
|
||||||
menuImageArrange.setDisabled( wrapping == Asc.c_oAscWrapStyle2.Inline || content_locked);
|
menuImageArrange.setDisabled( (wrapping == Asc.c_oAscWrapStyle2.Inline) && !value.imgProps.value.get_FromGroup() || content_locked);
|
||||||
|
|
||||||
if (me.api) {
|
if (me.api) {
|
||||||
mnuUnGroup.setDisabled(islocked || !me.api.CanUnGroup());
|
mnuUnGroup.setDisabled(islocked || !me.api.CanUnGroup());
|
||||||
|
|
Loading…
Reference in a new issue