Commit 1bf806af authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed problem with positioning of a cursor in a header on the second page.

parent b9c5b8af
...@@ -945,13 +945,15 @@ CHeaderFooter.prototype = ...@@ -945,13 +945,15 @@ CHeaderFooter.prototype =
this.LogicDocument.DrawingObjects.OnMouseDown(MouseEvent, X, Y, PageIndex); this.LogicDocument.DrawingObjects.OnMouseDown(MouseEvent, X, Y, PageIndex);
} }
else else
return this.Content.Selection_SetStart( X, Y, PageIndex, MouseEvent ); {
return this.Content.Selection_SetStart(X, Y, 0, MouseEvent);
}
}, },
Selection_SetEnd : function(X, Y, PageIndex, MouseEvent) Selection_SetEnd : function(X, Y, PageIndex, MouseEvent)
{ {
this.Set_Page( PageIndex ); this.Set_Page( PageIndex );
return this.Content.Selection_SetEnd(X, Y, PageIndex, MouseEvent); return this.Content.Selection_SetEnd(X, Y, 0, MouseEvent);
}, },
Selection_Is_TableBorderMove : function() Selection_Is_TableBorderMove : function()
......
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