Commit 6fb4cc7b authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent a10733ab
...@@ -187325,8 +187325,11 @@ ParaRun.prototype.Selection_DrawRange = function(_CurLine, _CurRange, SelectionD ...@@ -187325,8 +187325,11 @@ ParaRun.prototype.Selection_DrawRange = function(_CurLine, _CurRange, SelectionD
if ( true === DrawSelection ) if ( true === DrawSelection )
{ {
if (true === SelectionDraw.Draw && para_Drawing === ItemType && true !== Item.Is_Inline()) if (para_Drawing === ItemType && true !== Item.Is_Inline())
Item.Draw_Selection(); {
if (true === SelectionDraw.Draw)
Item.Draw_Selection();
}
else else
SelectionDraw.W += Item.Get_WidthVisible(); SelectionDraw.W += Item.Get_WidthVisible();
} }
...@@ -247249,7 +247252,9 @@ CTable.prototype = ...@@ -247249,7 +247252,9 @@ CTable.prototype =
var Y = this.RowsInfo[StartPos.Row].Y[CurPage]; var Y = this.RowsInfo[StartPos.Row].Y[CurPage];
var H = this.RowsInfo[StartPos.Row].H[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]; var EndPos = Cells_array[Cells_array.length - 1];
...@@ -247270,7 +247275,7 @@ CTable.prototype = ...@@ -247270,7 +247275,7 @@ CTable.prototype =
else else
Direction = -1; 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 }; 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