mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-08 23:12:13 +08:00
继续播放时,隐藏进度条,无需检查是否全屏
This commit is contained in:
@@ -823,10 +823,8 @@ export default {
|
||||
if (this.xg) {
|
||||
if (this.xg.paused) {
|
||||
this.xg.play()
|
||||
// 当全屏暂停再继续播放时,隐藏进度条
|
||||
if (this.xg.fullscreen) {
|
||||
remote.getCurrentWindow().setProgressBar(-1)
|
||||
}
|
||||
// 继续播放时,隐藏进度条
|
||||
remote.getCurrentWindow().setProgressBar(-1)
|
||||
} else {
|
||||
this.xg.pause()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user