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

@@ -159,7 +159,7 @@ class _PlDanmakuState extends State<PlDanmaku> {
},
option: DanmakuOption(
fontSize: _fontSize,
fontWeight: playerController.fontWeight,
fontWeight: playerController.danmakuFontWeight,
area: playerController.showArea,
opacity: playerController.danmakuOpacity,
hideTop: playerController.blockTypes.contains(5),
@@ -171,7 +171,7 @@ class _PlDanmakuState extends State<PlDanmaku> {
staticDuration:
playerController.danmakuStaticDuration /
playerController.playbackSpeed,
strokeWidth: playerController.strokeWidth,
strokeWidth: playerController.danmakuStrokeWidth,
lineHeight: playerController.danmakuLineHeight,
),
),