[SSE] Refactoring

This commit is contained in:
Julia Radzhabova 2020-05-14 12:56:09 +03:00
parent d497e4b761
commit 7c69720f1d

View file

@ -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[2].setDisabled(need_disable);