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

Bug 26445 - Тормоза при перемещении диаграммы в группе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58516 954022d7-b5bf-4e40-9824-e11837661b57
parent a6c00012
...@@ -2569,10 +2569,10 @@ CShape.prototype = ...@@ -2569,10 +2569,10 @@ CShape.prototype =
new_ext_y = scale_scale_coefficients.cy * xfrm.extY; new_ext_y = scale_scale_coefficients.cy * xfrm.extY;
} }
var xfrm = this.spPr.xfrm; var xfrm = this.spPr.xfrm;
xfrm.setOffX(new_off_x); Math.abs(new_off_x - xfrm.offX) > MOVE_DELTA && xfrm.setOffX(new_off_x);
xfrm.setOffY(new_off_y); Math.abs(new_off_y - xfrm.offY) > MOVE_DELTA && xfrm.setOffY(new_off_y);
xfrm.setExtX(new_ext_x); Math.abs(new_ext_x - xfrm.extX) > MOVE_DELTA && xfrm.setExtX(new_ext_x);
xfrm.setExtY(new_ext_y); Math.abs(new_ext_y - xfrm.extY) > MOVE_DELTA && xfrm.setExtY(new_ext_y);
}, },
check_bounds: function (checker) { check_bounds: function (checker) {
......
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