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

Bug 27738 - Невозможно выделить фигуру типа inline за часть, выходящую за пределы селекта

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59939 954022d7-b5bf-4e40-9824-e11837661b57
parent f1aae94b
...@@ -291,6 +291,7 @@ CShape.prototype.handleUpdateLn = function() ...@@ -291,6 +291,7 @@ CShape.prototype.handleUpdateLn = function()
}; };
CShape.prototype.handleUpdateGeometry = function() CShape.prototype.handleUpdateGeometry = function()
{ {
this.recalcBounds();
this.recalcGeometry(); this.recalcGeometry();
this.addToRecalculate(); this.addToRecalculate();
}; };
......
...@@ -342,6 +342,7 @@ CShape.prototype.handleUpdateLn = function() ...@@ -342,6 +342,7 @@ CShape.prototype.handleUpdateLn = function()
CShape.prototype.handleUpdateGeometry = function() CShape.prototype.handleUpdateGeometry = function()
{ {
this.recalcGeometry(); this.recalcGeometry();
this.recalcBounds();
this.addToRecalculate(); this.addToRecalculate();
}; };
CShape.prototype.convertPixToMM = function(pix) CShape.prototype.convertPixToMM = function(pix)
......
...@@ -168,6 +168,7 @@ CShape.prototype.handleUpdateLn = function() ...@@ -168,6 +168,7 @@ CShape.prototype.handleUpdateLn = function()
CShape.prototype.handleUpdateGeometry = function() CShape.prototype.handleUpdateGeometry = function()
{ {
this.recalcGeometry(); this.recalcGeometry();
this.recalcBounds();
this.recalcWrapPolygon(); this.recalcWrapPolygon();
this.addToRecalculate(); this.addToRecalculate();
}; };
......
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