Commit 680eaab6 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

избавилась от бага с позициями, обернула в try catch

TODO : убрать try catch

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56483 954022d7-b5bf-4e40-9824-e11837661b57
parent 59ecb871
......@@ -312,10 +312,8 @@ CMathText.prototype =
},
setPosition: function(pos)
{
/*try
{*/
try
{
if (!this.bJDraw) // for text
{
this.pos.x = pos.x + this.GapLeft;
......@@ -328,11 +326,11 @@ CMathText.prototype =
this.pos.x = pos.x - this.rasterOffsetX;
this.pos.y = pos.y - this.rasterOffsetY;
}
/*}
}
catch(e)
{
}*/
}
},
setCoeffTransform: function(sx, shx, shy, sy)
......
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