Skip to content

Commit

Permalink
fix: cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
wiidede committed Oct 21, 2023
1 parent 4e578f5 commit 82468d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RangeThumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function onPointerUp(e: PointerEvent) {
window.removeEventListener('pointerup', onPointerUp)
window.removeEventListener('pointercancel', onPointerUp)
if (e.type === 'pointercancel' || props.disabled) {
setTrackCursor('unset')
setTrackCursor(undefined)
emits('moveDone')
return
}
Expand All @@ -98,6 +98,7 @@ function onPointerUp(e: PointerEvent) {
emits('delete')
}
}
setTrackCursor(undefined)
emits('moveDone')
}
Expand Down

0 comments on commit 82468d2

Please sign in to comment.