mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
drag&drop gecko setPointerCapture idea
This commit is contained in:
parent
d7965d1193
commit
a02f12c6ce
1 changed files with 11 additions and 0 deletions
|
|
@ -163,6 +163,17 @@
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
doc.addEventListener('pointerdown', e => {
|
||||||
|
doc.addEventListener('pointermove', e => {
|
||||||
|
e.clientX
|
||||||
|
});
|
||||||
|
doc.setPointerCapture(e.pointerId);
|
||||||
|
});
|
||||||
|
doc.addEventListener('pointerup', e => {
|
||||||
|
doc.releasePointerCapture(e.pointerId);
|
||||||
|
});
|
||||||
|
*/
|
||||||
doc.addEventListener('touchstart', e => {
|
doc.addEventListener('touchstart', e => {
|
||||||
// clear all variables
|
// clear all variables
|
||||||
reset();
|
reset();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue