Skip to content

Commit 4f80fa7

Browse files
committed
remove dragging/moving cursor on pointer cancel events
1 parent efffe03 commit 4f80fa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,7 @@ export default function Tobii (userOptions) {
923923
const contextmenuHandler = () => {
924924
pointerDownCache = []
925925
updateOffset()
926+
groups[activeGroup].slider.classList.remove('tobii__slider--is-' + (isZoomed() ? 'moving' : 'dragging'))
926927
}
927928

928929
/**

0 commit comments

Comments
 (0)