feat(renderer): 增加长字幕隐藏功能 (#1)

- 修复暗色主题部分内容的显示颜色
- 添加长字幕内容隐藏功能
- 优化字幕样式预览界面,支持动态显示最新字幕内容
This commit is contained in:
himeditator
2025-07-05 11:00:53 +08:00
parent f29e15cde5
commit 22cfb75d2c
19 changed files with 132 additions and 27 deletions

View File

@@ -12,7 +12,7 @@ import sys
import argparse
def convert_audio_to_text(s_lang, t_lang, audio_type):
sys.stdout.reconfigure(line_buffering=True)
sys.stdout.reconfigure(line_buffering=True) # type: ignore
stream = AudioStream(audio_type)
stream.openStream()
@@ -45,4 +45,3 @@ if __name__ == "__main__":
args.target_language,
0 if args.audio_type == '0' else 1
)