mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -165,6 +165,10 @@ class _PlDanmakuState extends State<PlDanmaku> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final option = DanmakuOptions.get(
|
||||
notFullscreen: widget.notFullscreen,
|
||||
speed: playerController.playbackSpeed,
|
||||
);
|
||||
return Obx(
|
||||
() => AnimatedOpacity(
|
||||
opacity: playerController.enableShowDanmaku.value
|
||||
@@ -175,10 +179,7 @@ class _PlDanmakuState extends State<PlDanmaku> {
|
||||
createdController: (e) {
|
||||
playerController.danmakuController = _controller = e;
|
||||
},
|
||||
option: DanmakuOptions.get(
|
||||
notFullscreen: widget.notFullscreen,
|
||||
speed: playerController.playbackSpeed,
|
||||
),
|
||||
option: option,
|
||||
size: widget.size,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user