mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@61552 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
1d3ae760e4
commit
07824f258f
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user