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

.

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