git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@61552 954022d7-b5bf-4e40-9824-e11837661b57

This commit is contained in:
Oleg.Korshul
2015-03-22 10:37:33 +00:00
committed by Alexander Trofimov
parent 1d3ae760e4
commit 07824f258f

View File

@ -357492,7 +357492,18 @@ CDrawingDocument.prototype =
this.Native["DD_NeedScrollToTargetFlag"](true);
this.LogicDocumentOnMouseUp(global_mouseEvent, pos.X, pos.Y, pos.Page);
if (this.SelectDrag == 1 || this.SelectDrag == 2)
{
var _oldShift = global_mouseEvent.ShiftKey;
global_mouseEvent.ShiftKey = true;
this.LogicDocumentOnMouseDown(global_mouseEvent, pos.X, pos.Y, pos.Page);
this.LogicDocumentOnMouseUp(global_mouseEvent, pos.X, pos.Y, pos.Page);
global_mouseEvent.ShiftKey = _oldShift;
}
else
{
this.LogicDocumentOnMouseUp(global_mouseEvent, pos.X, pos.Y, pos.Page);
}
this.Native["DD_NeedScrollToTargetFlag"](false);
this.Native.m_bIsMouseUpSend = false;
@ -357529,7 +357540,19 @@ CDrawingDocument.prototype =
return;
this.TableOutlineDr.bIsNoTable = true;
this.LogicDocument.OnMouseMove(global_mouseEvent, pos.X, pos.Y, pos.Page);
if (this.SelectDrag == 1 || this.SelectDrag == 2)
{
var _oldShift = global_mouseEvent.ShiftKey;
global_mouseEvent.ShiftKey = true;
this.LogicDocumentOnMouseDown(global_mouseEvent, pos.X, pos.Y, pos.Page);
this.LogicDocumentOnMouseUp(global_mouseEvent, pos.X, pos.Y, pos.Page);
global_mouseEvent.ShiftKey = _oldShift;
}
else
{
this.LogicDocument.OnMouseMove(global_mouseEvent, pos.X, pos.Y, pos.Page);
}
if (this.TableOutlineDr.bIsNoTable === false)
{