Commit bbf53701 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32973

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