Commit d55b4e60 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

баг с попаданием в рамку селекта на другой странице

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67433 954022d7-b5bf-4e40-9824-e11837661b57
parent c4249a1b
......@@ -69,12 +69,12 @@ function handleSelectedObjects(drawingObjectsController, e, x, y, group, pageInd
tx = x;
ty = y;
}
if(selected_objects[i].hitInBoundingRect(x, y) && (!selected_objects[i].hitInTextRect || !selected_objects[i].hitInTextRect(x, y)))
if(selected_objects[i].hitInBoundingRect(tx, ty) && (!selected_objects[i].hitInTextRect || !selected_objects[i].hitInTextRect(tx, ty)))
{
if(bWord && selected_objects[i].parent && selected_objects[i].parent.Is_Inline())
return handleInlineHitNoText(selected_objects[i], drawingObjectsController, e, x, y, pageIndex, true);
return handleInlineHitNoText(selected_objects[i], drawingObjectsController, e, tx, ty, pageIndex, true);
else
return drawingObjectsController.handleMoveHit(selected_objects[i], e, x, y, group, true, selected_objects[i].selectStartPage, true);
return drawingObjectsController.handleMoveHit(selected_objects[i], e, tx, ty, group, true, selected_objects[i].selectStartPage, true);
}
}
return false;
......
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