Commit bbf53701 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32973

parent 10911b5d
......@@ -2529,10 +2529,16 @@ CShape.prototype.recalculateLocalTransform = function(transform)
var metrics = this.drawingBase.getGraphicObjectMetrics();
this.x = metrics.x;
this.y = metrics.y;
extX = metrics.extX;
extY = metrics.extY;
var rot = this.spPr && this.spPr.xfrm && AscFormat.isRealNumber(this.spPr.xfrm.rot) ? AscFormat.normalizeRotate(this.spPr.xfrm.rot) : 0;
var rot = 0;
if(this.spPr && this.spPr.xfrm){
if(AscFormat.isRealNumber(this.spPr.xfrm.rot)){
rot = AscFormat.normalizeRotate(this.spPr.xfrm.rot);
}
this.flipH = this.spPr.xfrm.flipH === true;
this.flipV = this.spPr.xfrm.flipV === true;
}
this.rot = rot;
var metricExtX, metricExtY;
if(!(this instanceof AscFormat.CGroupShape))
{
......
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