mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 06:47:05 +08: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;
|
||||
};
|
||||
|
||||
/*
|
||||
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 => {
|
||||
// clear all variables
|
||||
reset();
|
||||
|
|
Loading…
Reference in a new issue