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
af63f6ae
Commit
af63f6ae
authored
Feb 10, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile web: move after up (excel)
parent
2eed4d61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
cell/view/mobileTouch.js
cell/view/mobileTouch.js
+16
-2
No files found.
cell/view/mobileTouch.js
View file @
af63f6ae
...
@@ -896,8 +896,22 @@ function (window, undefined)
...
@@ -896,8 +896,22 @@ function (window, undefined)
this
.
checkPointerMultiTouchRemove
(
e
);
this
.
checkPointerMultiTouchRemove
(
e
);
// нужен лив, чтобы сбросить состояния
if
(
true
)
this
.
delegate
.
Api
.
controller
.
_onMouseLeave
(
e
.
changedTouches
?
e
.
changedTouches
[
0
]
:
e
);
{
// нужно послать мув в никуда, чтобы сбросить состояния (схема, где все решает мув а не даун)
var
_e
=
{};
_e
.
pageX
=
-
1000
;
_e
.
pageY
=
-
1000
;
_e
.
altKey
=
false
;
_e
.
shiftKey
=
false
;
_e
.
ctrlKey
=
false
;
_e
.
button
=
0
;
this
.
delegate
.
Api
.
controller
.
_onMouseMove
(
_e
);
}
if
(
this
.
Api
.
isViewMode
||
isPreventDefault
)
if
(
this
.
Api
.
isViewMode
||
isPreventDefault
)
AscCommon
.
g_inputContext
.
preventVirtualKeyboard
(
e
);
AscCommon
.
g_inputContext
.
preventVirtualKeyboard
(
e
);
...
...
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