fix: 修正文字速度修改不生效的问题

This commit is contained in:
2026-07-22 21:17:16 +08:00
parent 34d2ac40eb
commit 2ae6f712a4
13 changed files with 270 additions and 30 deletions
+7
View File
@@ -38,10 +38,17 @@ namespace AibisDream
syncToken.OnAdvance += AfterAdvance;
// 播放文字
ApplyTextSpeedSnapshot();
syncToken.TextStart();
content.ShowText(syncToken.lineInfo.lineText);
}
private void ApplyTextSpeedSnapshot()
{
content.resetTypingSpeedAtStartup = false;
content.SetTypewriterSpeed(TextSpeedSettings.CurrentMultiplier);
}
private async void AfterAdvance()
{
_autoHideToken = new CancellationTokenSource();