Commit e0cd5e93 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с неправильным рисованием границ селекта у теблицы (баг 28810)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61517 954022d7-b5bf-4e40-9824-e11837661b57
parent 54ad28fc
......@@ -7619,7 +7619,9 @@ CTable.prototype =
var Y = this.RowsInfo[StartPos.Row].Y[CurPage];
var H = this.RowsInfo[StartPos.Row].H[CurPage];
var BeginRect = { X : X0, Y : Y, W : X1 - X0, H : H, Page : CurPage + this.Get_StartPage_Absolute() };
var TableX = this.Pages[CurPage].X + this.RowsInfo[StartPos.Row].X0;
var BeginRect = { X : TableX + X0, Y : Y, W : X1 - X0, H : H, Page : CurPage + this.Get_StartPage_Absolute() };
var EndPos = Cells_array[Cells_array.length - 1];
......@@ -7640,7 +7642,7 @@ CTable.prototype =
else
Direction = -1;
var EndRect = { X : X0, Y : Y, W : X1 - X0, H : H, Page : CurPage + this.Get_StartPage_Absolute() };
var EndRect = { X : TableX + X0, Y : Y, W : X1 - X0, H : H, Page : CurPage + this.Get_StartPage_Absolute() };
return { Start : BeginRect, End : EndRect, Direction : Direction };
}
......
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