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

This commit is contained in:
Oleg.Korshul
2015-03-22 10:42:20 +00:00
committed by Alexander Trofimov
parent 07824f258f
commit 9869ea22b8

View File

@ -357451,19 +357451,14 @@ CDrawingDocument.prototype =
{
check_MouseUpEvent(e);
var pos = this.GetMouseMoveCoords();
var _is_select = false;
if (this.SelectDrag == 1 || this.SelectDrag == 2)
{
global_mouseEvent.X += this.SelectMobileXOffset;
global_mouseEvent.Y += this.SelectMobileYOffset;
_is_select = true;
}
this.SelectDrag = -1;
var pos = null;
if (this.AutoShapesTrackLockPageNum == -1)
pos = this.__DD_ConvertCoordsFromCursor(global_mouseEvent.X, global_mouseEvent.Y);
else
pos = this.__DD_ConvetToPageCoords(global_mouseEvent.X, global_mouseEvent.Y, this.AutoShapesTrackLockPageNum);
if (pos.Page == -1)
return this.CheckReturnMouseUp();
@ -357492,7 +357487,7 @@ CDrawingDocument.prototype =
this.Native["DD_NeedScrollToTargetFlag"](true);
if (this.SelectDrag == 1 || this.SelectDrag == 2)
if (_is_select)
{
var _oldShift = global_mouseEvent.ShiftKey;
global_mouseEvent.ShiftKey = true;