fix reset sub/dm settings

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-18 23:31:09 +08:00
parent 5ec04e3a53
commit c3bcd323fb
4 changed files with 131 additions and 82 deletions

View File

@@ -1031,7 +1031,7 @@ class _LiveDanmakuState extends State<LiveDanmaku> {
},
option: DanmakuOption(
fontSize: _fontSize,
fontWeight: plPlayerController.fontWeight,
fontWeight: plPlayerController.danmakuFontWeight,
area: plPlayerController.showArea,
opacity: plPlayerController.danmakuOpacity,
hideTop: plPlayerController.blockTypes.contains(5),
@@ -1043,7 +1043,7 @@ class _LiveDanmakuState extends State<LiveDanmaku> {
staticDuration:
plPlayerController.danmakuStaticDuration /
plPlayerController.playbackSpeed,
strokeWidth: plPlayerController.strokeWidth,
strokeWidth: plPlayerController.danmakuStrokeWidth,
lineHeight: plPlayerController.danmakuLineHeight,
),
),