Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Sep 5, 2024
1 parent 6818b30 commit b177861
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@ export function getEdges(root: HTMLElement) {
}
}

export function isScrollbarClick(event: PointerEvent) {
console.log('isScrollbarClick', event.clientX >= window.innerWidth - 17)

return event.clientX >= window.innerWidth - 17
}
export const isScrollbarClick = (event: PointerEvent) => event.clientX >= window.innerWidth - 17

export const defaultOptions = {
jumpToFirst: true,
Expand Down

0 comments on commit b177861

Please sign in to comment.