Commit 79d87c26 authored by Oleg Korshul's avatar Oleg Korshul

.

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