mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-19 19:01:24 +08:00
fix: show thin progress bar during drag when progressType is alwaysHide
This commit is contained in:
@@ -1719,8 +1719,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
),
|
||||
|
||||
/// 进度条 live模式下禁用
|
||||
if (!isLive &&
|
||||
plPlayerController.progressType != BtmProgressBehavior.alwaysHide)
|
||||
if (!isLive)
|
||||
Positioned(
|
||||
bottom: -2.2,
|
||||
left: 0,
|
||||
@@ -1732,6 +1731,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
final offstage = isDragging && !showControls
|
||||
? false
|
||||
: switch (plPlayerController.progressType) {
|
||||
BtmProgressBehavior.alwaysHide => true,
|
||||
BtmProgressBehavior.onlyShowFullScreen =>
|
||||
showControls || !isFullScreen,
|
||||
BtmProgressBehavior.onlyHideFullScreen =>
|
||||
|
||||
Reference in New Issue
Block a user