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

Bug 26843 - Сбрасывается select после выделении нескольких ячеек таблицы и...

Bug 26843 - Сбрасывается select после выделении нескольких ячеек таблицы и открытия контекстного меню

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59766 954022d7-b5bf-4e40-9824-e11837661b57
parent 49bacff0
......@@ -596,6 +596,11 @@ CGraphicFrame.prototype =
selectionSetStart: function(e, x, y, slideIndex)
{
if ( g_mouse_button_right === e.Button )
{
this.rightButtonFlag = true;
return;
}
if(isRealObject(this.graphicObject))
{
var tx, ty;
......@@ -621,16 +626,17 @@ CGraphicFrame.prototype =
}
},
isTableBorder: function(x, y)
{
var tx, ty;
tx = this.invertTransform.TransformPointX(x, y);
ty = this.invertTransform.TransformPointY(x, y);
return this.graphicObject.Is_TableBorder( tx, ty, 0);
},
selectionSetEnd: function(e, x, y, slideIndex)
{
if(g_mouse_event_type_move === e.Type)
{
this.rightButtonFlag = false;
}
if(this.rightButtonFlag && g_mouse_event_type_up === e.Type)
{
this.rightButtonFlag = false;
return;
}
if(isRealObject(this.graphicObject))
{
var tx, ty;
......
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