Commit 2bb572b6 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Поправила баг : не отображались n-арные операторы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55342 954022d7-b5bf-4e40-9824-e11837661b57
parent 474f1be8
......@@ -55,9 +55,9 @@ CNary.prototype.init = function(props)
var bIntegral = signCode > 0x222A && signCode < 0x2231;
if(bIntegral)
this.limLoc = this.Composition.props.intLim;
this.limLoc = this.Parent.Composition.props.intLim;
else
this.limLoc = this.Composition.props.naryLim;
this.limLoc = this.Parent.Composition.props.naryLim;
}
......@@ -531,8 +531,6 @@ CNaryOperator.prototype.recalculateSize = function()
width = this.sizeGlyph.width,
ascent = this.sizeGlyph.height/2 + DIV_CENT*this.getCtrPrp().FontSize;
width += this.GapLeft + this.GapRight;
this.size = {height: height, width: width, ascent: ascent};
}
CNaryOperator.prototype.Resize = function()
......
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