mod: handle show viewpoints btn

Closes #457

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-16 11:20:55 +08:00
parent c2e9a7deb3
commit 0b8e95477c
4 changed files with 26 additions and 17 deletions

View File

@@ -303,7 +303,9 @@ class PlPlayerController {
wordSpacing: 0.1,
color: Colors.white,
fontWeight: FontWeight.normal,
backgroundColor: Colors.black.withOpacity(subtitleBgOpaticy),
backgroundColor: subtitleBgOpaticy == 0
? null
: Colors.black.withOpacity(subtitleBgOpaticy),
);
SubtitleViewConfiguration get subtitleViewConfiguration =>