Commit 829915dc authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Координаты возвращаю в px (ранее в pt) для tooltip

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56062 954022d7-b5bf-4e40-9824-e11837661b57
parent df8d3026
......@@ -3949,7 +3949,8 @@
.fillRect(x, 0, this.width_1px, h);
return new asc_CMM({type: c_oAscMouseMoveType.ResizeColumn, sizeCCOrPt: t._colWidthToCharCount(widthPt),
sizePx: widthPt * 96 / 72, x: x1, y: this.cellsTop});
sizePx: widthPt * 96 / 72, x: x1 * asc_getcvt(1/*pt*/, 0/*px*/, this._getPPIX()),
y: this.cellsTop * asc_getcvt(1/*pt*/, 0/*px*/, this._getPPIY())});
};
// mouseY - это разница стартовых координат от мыши при нажатии и границы
......@@ -3978,7 +3979,8 @@
.fillRect(0, y, w, this.height_1px);
return new asc_CMM({type: c_oAscMouseMoveType.ResizeRow, sizeCCOrPt: heightPt, sizePx: heightPt * 96 / 72,
x: this.cellsLeft, y: y1});
x: this.cellsLeft * asc_getcvt(1/*pt*/, 0/*px*/, this._getPPIX()),
y: y1 * asc_getcvt(1/*pt*/, 0/*px*/, this._getPPIY())});
};
......
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