mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 13:39:30 -07:00
modify the comment
This commit is contained in:
@@ -76,7 +76,7 @@ export const handleOnMove = (e: MouseEvent): void => {
|
|||||||
distanceFromLast(e.clientX, e.clientY) >
|
distanceFromLast(e.clientX, e.clientY) >
|
||||||
window.innerWidth / thresholdSensitivityArray[thresholdIndex]
|
window.innerWidth / thresholdSensitivityArray[thresholdIndex]
|
||||||
) {
|
) {
|
||||||
// images showing array
|
// calculate the actual index
|
||||||
const imageIndex = globalIndex % imagesArrayLen
|
const imageIndex = globalIndex % imagesArrayLen
|
||||||
// show top image and change index
|
// show top image and change index
|
||||||
activate(imageIndex, e.clientX, e.clientY)
|
activate(imageIndex, e.clientX, e.clientY)
|
||||||
|
|||||||
Reference in New Issue
Block a user