sel: add move frame to resetTouchParams

Signed-off-by: Varun Patil <radialapps@gmail.com>
monorepo
Varun Patil 2023-10-31 19:12:38 -07:00
parent c5c72dabd8
commit e3186c1759
1 changed files with 6 additions and 2 deletions

View File

@ -405,14 +405,18 @@ export default defineComponent({
resetTouchParams() { resetTouchParams() {
this.touchAnchor = null; this.touchAnchor = null;
window.clearTimeout(this.touchTimer);
this.touchTimer = 0;
this.touchMoved = false; this.touchMoved = false;
this.prevOver = null; this.prevOver = null;
window.clearTimeout(this.touchTimer);
this.touchTimer = 0;
window.cancelAnimationFrame(this.touchScrollInterval); window.cancelAnimationFrame(this.touchScrollInterval);
this.touchScrollInterval = 0; this.touchScrollInterval = 0;
window.cancelAnimationFrame(this.touchMoveSelFrame);
this.touchMoveSelFrame = 0;
this.prevTouch = null; this.prevTouch = null;
}, },