Commit 31e407c4 authored by Sergey Luzyanin's avatar Sergey Luzyanin Committed by Alexander.Trofimov

Толщина линии учитывалась два раза.

parent 46ea1a09
...@@ -5352,11 +5352,6 @@ CShape.prototype.recalculateBounds = function() ...@@ -5352,11 +5352,6 @@ CShape.prototype.recalculateBounds = function()
{ {
var boundsChecker = new AscFormat.CSlideBoundsChecker(); var boundsChecker = new AscFormat.CSlideBoundsChecker();
this.draw(boundsChecker, this.localTransform, this.localTransformText); this.draw(boundsChecker, this.localTransform, this.localTransformText);
if(!this.group)
{
boundsChecker.CorrectBounds();
}
this.bounds.l = boundsChecker.Bounds.min_x; this.bounds.l = boundsChecker.Bounds.min_x;
this.bounds.t = boundsChecker.Bounds.min_y; this.bounds.t = boundsChecker.Bounds.min_y;
this.bounds.r = boundsChecker.Bounds.max_x; this.bounds.r = boundsChecker.Bounds.max_x;
......
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