Skip to content

Commit

Permalink
fix: look if pointer is actually moving, or user is just scrolling. c…
Browse files Browse the repository at this point in the history
…loses #4
  • Loading branch information
robertrosman committed May 27, 2024
1 parent 1067203 commit 5085cb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/composables/useDraw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export function useDraw({
pressure.value &&
!isDrawing.value &&
isInside.value &&
isMoving.value &&
!isDrawingSomewhere &&
!isTouchScrolling
) {
Expand Down

0 comments on commit 5085cb0

Please sign in to comment.