Skip to content

Commit

Permalink
Completely remove raf
Browse files Browse the repository at this point in the history
in 66c0dd9 raf was removed but it was still called in unpanzoom().
  • Loading branch information
saraedum authored Nov 26, 2020
1 parent 2936186 commit 3ca739e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,6 @@ function panZoom (target, cb) {

pinch.disable()

raf.cancel(frameId)
window.cancelAnimationFrame(frameId)
}
}

0 comments on commit 3ca739e

Please sign in to comment.