|
@ -78,9 +78,9 @@ function TextScroll (props) { |
|
|
text = window.requestAnimationFrame(scroll) |
|
|
text = window.requestAnimationFrame(scroll) |
|
|
cancel.current = text |
|
|
cancel.current = text |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// window.requestAnimationFrame(scroll) |
|
|
console.log(44444); |
|
|
console.log(44444); |
|
|
|
|
|
|
|
|
window.requestAnimationFrame(scroll) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, [content, roll]) |
|
|
}, [content, roll]) |
|
|