refactor(timeline-panel): Phase 1 - extract constants and utils #920
Reference in New Issue
Block a user
Delete Branch "refactor/timeline-panel-phase1-pr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TimelinePanel 重构 Phase 1
抽离常量和工具函数,为后续抽组件做准备。
变更内容
constants/timeline.ts:时间线相关常量(图标、标签、缩放、尺寸等)+getRulerStep()函数utils/timeline.ts:formatTime()、formatTrimTime()、generateRulerMarks()行数变化
后续 Phase
🗑️ 预览环境已清理
PR #920 已关闭或合并,对应的预览环境已被清理。