Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
6e8615e1
Commit
6e8615e1
authored
Feb 09, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5038be8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
cell/view/mobileTouch.js
cell/view/mobileTouch.js
+4
-6
No files found.
cell/view/mobileTouch.js
View file @
6e8615e1
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment