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

Bug 24399 - Смещается предпросмотр изображения, при изменении его размера в автофигуре

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56638 954022d7-b5bf-4e40-9824-e11837661b57
parent 5205dba9
...@@ -534,6 +534,16 @@ function ResizeTrackShapeImage(originalObject, cardDirection) ...@@ -534,6 +534,16 @@ function ResizeTrackShapeImage(originalObject, cardDirection)
{ {
global_MatrixTransformer.MultiplyAppend(_transform, this.originalObject.group.transform); global_MatrixTransformer.MultiplyAppend(_transform, this.originalObject.group.transform);
} }
if(this.originalObject.parent)
{
var parent_shape = this.originalObject.parent.isShapeChild(true);
if(parent_shape)
{
global_MatrixTransformer.MultiplyAppend(_transform, parent_shape.transformText);
}
}
}; };
this.resizeRelativeCenter = function(kd1, kd2, ShiftKey) this.resizeRelativeCenter = function(kd1, kd2, ShiftKey)
...@@ -641,6 +651,15 @@ function ResizeTrackShapeImage(originalObject, cardDirection) ...@@ -641,6 +651,15 @@ function ResizeTrackShapeImage(originalObject, cardDirection)
{ {
global_MatrixTransformer.MultiplyAppend(_transform, this.originalObject.group.transform); global_MatrixTransformer.MultiplyAppend(_transform, this.originalObject.group.transform);
} }
if(this.originalObject.parent)
{
var parent_shape = this.originalObject.parent.isShapeChild(true);
if(parent_shape)
{
global_MatrixTransformer.MultiplyAppend(_transform, parent_shape.transformText);
}
}
}; };
......
...@@ -174,6 +174,15 @@ function RotateTrackShapeImage(originalObject) ...@@ -174,6 +174,15 @@ function RotateTrackShapeImage(originalObject)
{ {
global_MatrixTransformer.MultiplyAppend(this.transform, this.originalObject.group.transform); global_MatrixTransformer.MultiplyAppend(this.transform, this.originalObject.group.transform);
} }
if(this.originalObject.parent)
{
var parent_shape = this.originalObject.parent.isShapeChild(true);
if(parent_shape)
{
global_MatrixTransformer.MultiplyAppend(this.transform, parent_shape.transformText);
}
}
}; };
this.trackEnd = function() this.trackEnd = 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