Commit b8355de2 authored by Alexander.Trofimov's avatar Alexander.Trofimov

Поправил баг, при котором не выставлялось колличество столбцов, когда есть...

Поправил баг, при котором не выставлялось колличество столбцов, когда есть ячейка в конце, залезающая справа на колонки, которых нет в листе.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61297 954022d7-b5bf-4e40-9824-e11837661b57
parent 2b59aa8d
......@@ -257,7 +257,6 @@
var posv = (angle === 90 || angle === -90) ? 0 : Math.abs(Math.cos(angle * Math.PI / 180.0) * textW);
if ("bottom" === alignVertical) {
if (angle < 0) {
if ("left" === alignHorizontal) {
dx = (1 - mul) * tm.height;
......
......@@ -1465,6 +1465,7 @@
x += this.cols[i].width;
this.isChanged = true;
}
this.nColsCount = Math.min(Math.max(this.nColsCount, i), gc_nMaxCol);
};
/** Устанаваливает видимый диапазон ячеек максимально возможным */
......
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