Commit 9869ea22 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent 07824f25
......@@ -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;
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