[SSE] Refactoring
This commit is contained in:
parent
d497e4b761
commit
7c69720f1d
|
@ -2285,7 +2285,7 @@ define([
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
need_disable = (fontparam == AscCommon.align_Justify || selectionType == Asc.c_oAscSelectionType.RangeShapeText);
|
need_disable = (fontparam == AscCommon.align_Justify || selectionType == Asc.c_oAscSelectionType.RangeShapeText || selectionType == Asc.c_oAscSelectionType.RangeShape);
|
||||||
toolbar.btnTextOrient.menu.items[1].setDisabled(need_disable);
|
toolbar.btnTextOrient.menu.items[1].setDisabled(need_disable);
|
||||||
toolbar.btnTextOrient.menu.items[2].setDisabled(need_disable);
|
toolbar.btnTextOrient.menu.items[2].setDisabled(need_disable);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue