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) ...@@ -824,10 +824,10 @@ function CMathMenuNary(Nary)
{ {
var HideUpper = undefined, HideLower = undefined; var HideUpper = undefined, HideLower = undefined;
if (true === Nary.UpperIterator.IsPlaceholder()) if (true === Nary.UpperIterator.IsPlaceholder())
HideUpper = Nary.Pr.subHide == true; HideUpper = Nary.Pr.supHide == true;
if (true === Nary.LowerIterator.IsPlaceholder()) if (true === Nary.LowerIterator.IsPlaceholder())
HideLower = Nary.Pr.supHide == true; HideLower = Nary.Pr.subHide == true;
this.bCanChangeLimLoc = false == Nary.ParaMath.Is_Inline(); this.bCanChangeLimLoc = false == Nary.ParaMath.Is_Inline();
this.LimLoc = Nary.Pr.limLoc === NARY_SubSup ? c_oAscMathInterfaceNaryLimitLocation.SubSup : c_oAscMathInterfaceNaryLimitLocation.UndOvr; this.LimLoc = Nary.Pr.limLoc === NARY_SubSup ? c_oAscMathInterfaceNaryLimitLocation.SubSup : c_oAscMathInterfaceNaryLimitLocation.UndOvr;
......
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