thelostword / timeline

Canvas timeline, supports zooming, dragging, and infinite scrolling. -- Canvas 时间轴组件,支持缩放、拖拽、无限滚动
https://thelostword.github.io/timeline/
MIT License
41 stars 7 forks source link

你好问下 我想自定义时间 我的时间是30秒一次 这个可以实现吗 #1

Closed by05021 closed 2 years ago

by05021 commented 2 years ago

你好问下 我想自定义时间 我的时间是30秒一次 这个可以实现吗

thelostword commented 2 years ago

你好问下 我想自定义时间 我的时间是30秒一次 这个可以实现吗

没太明白你说的 30秒一次 是什么意思。 如果需要时间刻度间隔固定 30s 的话可以设置 zoom/maxZoom/minZoom 固定为 3

dez0514 commented 2 years ago

你好 zoom/maxZoom/minZoom 相等时,比如都为3,初始化整个都没内容,要滚轮滚一下之后内容出来。。

thelostword commented 2 years ago

你好 zoom/maxZoom/minZoom 相等时,比如都为3,初始化整个都没内容,要滚轮滚一下之后内容出来。。

这个问题已经修复,感谢提出。

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.