fix: 修正文字速度修改不生效的问题
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user