Merge pull request #384 from orz12/opt-hidden-repeat-progressbar
opt: 控制条与常驻进度条互斥
This commit is contained in:
@ -596,6 +596,9 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
final int value = _.sliderPositionSeconds.value;
|
final int value = _.sliderPositionSeconds.value;
|
||||||
final int max = _.durationSeconds.value;
|
final int max = _.durationSeconds.value;
|
||||||
final int buffer = _.bufferedSeconds.value;
|
final int buffer = _.bufferedSeconds.value;
|
||||||
|
if (_.showControls.value) {
|
||||||
|
return Container();
|
||||||
|
}
|
||||||
if (defaultBtmProgressBehavior ==
|
if (defaultBtmProgressBehavior ==
|
||||||
BtmProgresBehavior.alwaysHide.code) {
|
BtmProgresBehavior.alwaysHide.code) {
|
||||||
return nil;
|
return nil;
|
||||||
|
|||||||
Reference in New Issue
Block a user