Skip to content

Commit

Permalink
sel: add move frame to resetTouchParams
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Nov 1, 2023
1 parent c5c72da commit e3186c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/SelectionManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -405,14 +405,18 @@ export default defineComponent({
resetTouchParams() {
this.touchAnchor = null;
window.clearTimeout(this.touchTimer);
this.touchTimer = 0;
this.touchMoved = false;
this.prevOver = null;
window.clearTimeout(this.touchTimer);
this.touchTimer = 0;
window.cancelAnimationFrame(this.touchScrollInterval);
this.touchScrollInterval = 0;
window.cancelAnimationFrame(this.touchMoveSelFrame);
this.touchMoveSelFrame = 0;
this.prevTouch = null;
},
Expand Down

0 comments on commit e3186c1

Please sign in to comment.