Commit 82463020 authored by Oleg Korshul's avatar Oleg Korshul

formula range selection

parent 91fdc30a
......@@ -57,7 +57,7 @@ function (window, undefined)
AscCommon.CMobileDelegateSimple.call(this, _manager);
}
CMobileDelegateEditorCell.prototype = Object.create(AscCommon.CMobileDelegateSimple.prototype);
CMobileDelegateEditorCell.prototype = Object.create(AscCommon.CMobileDelegateSimple.prototype);
CMobileDelegateEditorCell.prototype.constructor = CMobileDelegateEditorCell;
CMobileDelegateEditorCell.prototype.Resize = function()
{
......@@ -145,6 +145,17 @@ function (window, undefined)
};
CMobileDelegateEditorCell.prototype.GetObjectTrack = function(x, y, page, bSelected, bText)
{
if (this.WB.getCellEditMode())
{
var _coords = this.WB.ConvertLogicToXY(x, y);
AscCommon.global_mouseEvent.KoefPixToMM = 5;
var _cursor = this.WB.getWorksheet().getCursorTypeFromXY(_coords.X, _coords.Y, this.Api.isViewMode);
AscCommon.global_mouseEvent.KoefPixToMM = 1;
if (_cursor.target == AscCommonExcel.c_oTargetType.MoveResizeRange)
return true;
}
return this.WB.getWorksheet().objectRender.controller.isPointInDrawingObjects3(x, y, page, bSelected, bText);
};
CMobileDelegateEditorCell.prototype.GetSelectionRectsBounds = function()
......@@ -492,7 +503,7 @@ function (window, undefined)
}
CMobileTouchManager.prototype = Object.create(AscCommon.CMobileTouchManagerBase.prototype);
CMobileTouchManager.prototype = Object.create(AscCommon.CMobileTouchManagerBase.prototype);
CMobileTouchManager.prototype.constructor = CMobileTouchManager;
CMobileTouchManager.prototype.Init = function(_api)
{
......
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