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