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

Падение

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63333 954022d7-b5bf-4e40-9824-e11837661b57
parent 86315a17
......@@ -1783,11 +1783,10 @@ function TransformPointPolygon(x, y, oPolygon, bFlag, XLimit, ContentHeight, dKo
if(bFlag)
{
y1 = 0;
if(/*oBounds*/false)
{
y1 = oBounds.min_y;
}
y0 -= oBounds.min_y;
if(oBounds)
{
y0 -= oBounds.min_y;
}
}
else
{
......@@ -1795,8 +1794,8 @@ function TransformPointPolygon(x, y, oPolygon, bFlag, XLimit, ContentHeight, dKo
if(oBounds)
{
y1 = (oBounds.max_y - oBounds.min_y);
y0 -= oBounds.min_y;
}
y0 -= oBounds.min_y;
}
cX = x/XLimit;
oPointOnPolygon = oPolygon.getPointOnPolygon(cX, true);
......
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