Commit 6e8615e1 authored by Oleg Korshul's avatar Oleg Korshul

.

parent 5038be8a
...@@ -1172,16 +1172,14 @@ function (window, undefined) ...@@ -1172,16 +1172,14 @@ function (window, undefined)
if (this.RectSelectType == Asc.c_oAscSelectionType.RangeCol) if (this.RectSelectType == Asc.c_oAscSelectionType.RangeCol)
{ {
if (Math.abs(pos1.X - global_mouseEvent.X) < this.TrackTargetEps) // только правая граница
this.Mode = AscCommon.MobileTouchMode.SelectTrack; if (Math.abs(pos4.X - global_mouseEvent.X) < this.TrackTargetEps)
else if (Math.abs(pos4.X - global_mouseEvent.X) < this.TrackTargetEps)
this.Mode = AscCommon.MobileTouchMode.SelectTrack; this.Mode = AscCommon.MobileTouchMode.SelectTrack;
} }
else if (this.RectSelectType == Asc.c_oAscSelectionType.RangeRow) else if (this.RectSelectType == Asc.c_oAscSelectionType.RangeRow)
{ {
if (Math.abs(pos1.Y - global_mouseEvent.Y) < this.TrackTargetEps) // только нижняя граница
this.Mode = AscCommon.MobileTouchMode.SelectTrack; if (Math.abs(pos4.Y - global_mouseEvent.Y) < this.TrackTargetEps)
else if (Math.abs(pos4.Y - global_mouseEvent.X) < this.TrackTargetEps)
this.Mode = AscCommon.MobileTouchMode.SelectTrack; this.Mode = AscCommon.MobileTouchMode.SelectTrack;
} }
else else
......
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