Commit e69bb9ca authored by Oleg Korshul's avatar Oleg Korshul

mobile bugs

parent 4469e7b0
......@@ -173,7 +173,7 @@ function (window, undefined)
if (!_controller.Is_SelectionUse() && !_selection)
_mode = AscCommon.MobileTouchContextMenuType.Target;
if (_controller.Get_SelectionBounds())
if (_controller.Get_SelectionBounds() || _selection)
_mode = AscCommon.MobileTouchContextMenuType.Select;
if (_mode == 0 && _controller.getSelectedObjectsBounds())
......
......@@ -4518,6 +4518,9 @@ function ClickCounter() {
ClickCounter.prototype.mouseDownEvent = function(x, y, button) {
var currTime = getCurrentTime();
if (undefined === button)
button = 0;
var _eps = 3 * global_mouseEvent.KoefPixToMM;
if ((Math.abs(global_mouseEvent.X - global_mouseEvent.LastX) > _eps) || (Math.abs(global_mouseEvent.Y - global_mouseEvent.LastY) > _eps))
{
......
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