fix: 弹幕显示&弹幕设置缓存
This commit is contained in:
@ -413,7 +413,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
height: 32,
|
height: 32,
|
||||||
child: TextButton(
|
child: TextButton(
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
padding: WidgetStateProperty.all(EdgeInsets.zero),
|
padding: MaterialStateProperty.all(EdgeInsets.zero),
|
||||||
),
|
),
|
||||||
onPressed: () => vdCtr.showShootDanmakuSheet(),
|
onPressed: () => vdCtr.showShootDanmakuSheet(),
|
||||||
child:
|
child:
|
||||||
@ -612,16 +612,18 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
child: videoPlayerPanel,
|
child: videoPlayerPanel,
|
||||||
),
|
),
|
||||||
|
|
||||||
/// 关闭自动播放时 手动播放
|
/// 关闭自动播放时 手动播放
|
||||||
Obx(
|
Obx(
|
||||||
() => Visibility(
|
() => Visibility(
|
||||||
visible: !vdCtr.autoPlay.value &&
|
visible: !vdCtr.autoPlay.value &&
|
||||||
vdCtr.isShowCover.value,
|
vdCtr.isShowCover.value,
|
||||||
child: Positioned(
|
child: Positioned(
|
||||||
top: 0,
|
top: 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
child: handlePlayPanel(),
|
child: handlePlayPanel(),
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user