Skip to content

Commit

Permalink
修复弹幕加速异常 (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy authored Sep 20, 2024
1 parent b060736 commit 635780d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void ResetDanmakuStyle()
private void ResetSpeed()
{
var finalSpeed = ViewModel.DanmakuSpeed * 5 * ViewModel.ExtraSpeed;
_danmakuController.SetRollingSpeed(finalSpeed);
_danmakuController?.SetRollingSpeed(finalSpeed);
}

private void Redraw(bool force = false)
Expand Down

0 comments on commit 635780d

Please sign in to comment.