Commit 2da60a95 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

зависание при отрисовке пунктирных линий

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57305 954022d7-b5bf-4e40-9824-e11837661b57
parent fa868cb0
......@@ -1710,6 +1710,11 @@ CAutoshapeTrack.prototype =
var len_x2 = Math.abs(w_dist*(x2-x1)/len);
var len_y2 = Math.abs(w_dist*(y2-y1)/len);
if (len_x1 < 0.01 && len_y1 < 0.01)
return;
if (len_x2 < 0.01 && len_y2 < 0.01)
return;
if (x1 <= x2 && y1 <= y2)
{
for (var i = x1, j = y1; i <= x2 && j <= y2; i += len_x2, j += len_y2)
......
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