Commit 5b4198ad authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Поправлены свойства HideUpper и HideLower для контекстного меню N-арных операторов

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68221 954022d7-b5bf-4e40-9824-e11837661b57
parent 45739bfc
......@@ -824,10 +824,10 @@ function CMathMenuNary(Nary)
{
var HideUpper = undefined, HideLower = undefined;
if (true === Nary.UpperIterator.IsPlaceholder())
HideUpper = Nary.Pr.subHide == true;
HideUpper = Nary.Pr.supHide == true;
if (true === Nary.LowerIterator.IsPlaceholder())
HideLower = Nary.Pr.supHide == true;
HideLower = Nary.Pr.subHide == true;
this.bCanChangeLimLoc = false == Nary.ParaMath.Is_Inline();
this.LimLoc = Nary.Pr.limLoc === NARY_SubSup ? c_oAscMathInterfaceNaryLimitLocation.SubSup : c_oAscMathInterfaceNaryLimitLocation.UndOvr;
......
......@@ -4081,7 +4081,7 @@ CMathMenuDelimiter.prototype.get_MatchBrackets = function(){return this.Sha
CMathMenuDelimiter.prototype.put_MatchBrackets = function(Match){this.ShapeCentred = Match;};
CMathMenuDelimiter.prototype.can_DeleteArgument = function(){return this.bCanDeleteArgument;};
window["CMathMenuDelimiter"] = CMathMenuDelimiter;
window["CMathMenuDelimiter"] = CMathMenuDelimiter;
CMathMenuDelimiter.prototype["get_HideOpeningBracket"] = CMathMenuDelimiter.prototype.get_HideOpeningBracket;
CMathMenuDelimiter.prototype["put_HideOpeningBracket"] = CMathMenuDelimiter.prototype.put_HideOpeningBracket;
CMathMenuDelimiter.prototype["get_HideClosingBracket"] = CMathMenuDelimiter.prototype.get_HideClosingBracket;
......
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