Merge branch 'design' into alpha
This commit is contained in:
@ -86,6 +86,9 @@ class _PlDanmakuState extends State<PlDanmaku> {
|
|||||||
_controller!.onResume();
|
_controller!.onResume();
|
||||||
danmuPlayStatus = true;
|
danmuPlayStatus = true;
|
||||||
}
|
}
|
||||||
|
if (!playerController.isOpenDanmu.value) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
PlDanmakuController ctr = _plDanmakuController;
|
PlDanmakuController ctr = _plDanmakuController;
|
||||||
int currentPosition = position.inMilliseconds;
|
int currentPosition = position.inMilliseconds;
|
||||||
blockTypes = playerController.blockTypes;
|
blockTypes = playerController.blockTypes;
|
||||||
@ -98,9 +101,6 @@ class _PlDanmakuState extends State<PlDanmaku> {
|
|||||||
ctr.queryDanmaku();
|
ctr.queryDanmaku();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!playerController.isOpenDanmu.value) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// 超出分段数返回
|
// 超出分段数返回
|
||||||
if (ctr.currentSegIndex >= ctr.dmSegList.length) {
|
if (ctr.currentSegIndex >= ctr.dmSegList.length) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user