Commit 4e9842c1 authored by 黄韬's avatar 黄韬

[feat]横向弹幕修改

parent 66cb3c56
......@@ -28,7 +28,7 @@ const Barrage = props => {
const [ barrageList, setBarrageList ] = useState([])
const [ animationData, setAnimationData ] = useState(null)
const timer = useRef(null)
const nowIndex = useRef(0)
const nowIndex = useRef(1)
const createData = () => {
const Tracks = Array.from({ length: trackCount }, (v, k) => (k + 1) * 40 - 40)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment