opt: 控制条与常驻进度条互斥
This commit is contained in:
@ -602,6 +602,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 Container();
|
return Container();
|
||||||
|
|||||||
Reference in New Issue
Block a user