feat(renderer):实现多行字幕显示功能

- 在 CaptionStyle 组件中添加字幕行数设置选项
- 修改组件以支持多行字幕显示
- 优化字幕数据处理逻辑,支持按时间顺序显示多条字幕
This commit is contained in:
himeditator
2025-09-07 21:06:11 +08:00
parent 4abd6d0808
commit 4494b2c68b
9 changed files with 141 additions and 46 deletions

View File

@@ -19,6 +19,7 @@ function getDesktopPath() {
}
const defaultStyles: Styles = {
lineNumber: 1,
lineBreak: 1,
fontFamily: 'sans-serif',
fontSize: 24,