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

правка бага 20340

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50557 954022d7-b5bf-4e40-9824-e11837661b57
parent 9af012be
......@@ -909,7 +909,7 @@ CChartAsGroup.prototype =
t_y = invert_transform.TransformPointY(x, y);
var radius = this.drawingObjects.convertMetric(TRACK_CIRCLE_RADIUS, 0, 3);
var sqr_x = t_x*t_y, sqr_y = t_y*t_y;
var sqr_x = t_x*t_x, sqr_y = t_y*t_y;
if(Math.sqrt(sqr_x + sqr_y) < radius)
return 0;
......
......@@ -731,7 +731,7 @@ CGroupShape.prototype =
t_y = invert_transform.TransformPointY(x, y);
var radius = this.drawingObjects.convertMetric(TRACK_CIRCLE_RADIUS, 0, 3);
var sqr_x = t_x*t_y, sqr_y = t_y*t_y;
var sqr_x = t_x*t_x, sqr_y = t_y*t_y;
if(Math.sqrt(sqr_x + sqr_y) < radius)
return 0;
......
......@@ -840,7 +840,7 @@ CImageShape.prototype =
t_y = invert_transform.TransformPointY(x, y);
var radius = this.drawingObjects.convertMetric(TRACK_CIRCLE_RADIUS, 0, 3);
var sqr_x = t_x*t_y, sqr_y = t_y*t_y;
var sqr_x = t_x*t_x, sqr_y = t_y*t_y;
if(Math.sqrt(sqr_x + sqr_y) < radius)
return 0;
......
......@@ -2486,7 +2486,7 @@ CShape.prototype =
t_y = invert_transform.TransformPointY(x, y);
var radius = this.drawingObjects.convertMetric(TRACK_CIRCLE_RADIUS, 0, 3);
var sqr_x = t_x*t_y, sqr_y = t_y*t_y;
var sqr_x = t_x*t_x, sqr_y = t_y*t_y;
if(Math.sqrt(sqr_x + sqr_y) < radius)
return 0;
......
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