Commit 7c62149d 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@68188 954022d7-b5bf-4e40-9824-e11837661b57
parent 005b8913
......@@ -1843,7 +1843,7 @@ CShape.prototype =
if (this.spPr && isRealObject(this.spPr.geometry) && isRealObject(this.spPr.geometry.rect)) {
var rect = this.spPr.geometry.rect;
var Diff = 1.6;
var clipW = rect.r - rect.l + Diff - l_ins - r_ins;
var clipW = rect.r - rect.l + Diff;
if(clipW <= 0)
{
clipW = 0.01;
......@@ -1853,7 +1853,7 @@ CShape.prototype =
{
clipH = 0.01;
}
oClipRect = {x: rect.l + l_ins - Diff, y: rect.t - Diff + t_ins, w: clipW, h: clipH};
oClipRect = {x: rect.l - Diff, y: rect.t - Diff + t_ins, w: clipW, h: clipH};
}
else {
oClipRect = {x: -1.6, y: t_ins, w: this.extX + 3.2, h: this.extY - b_ins};
......
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