mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Player bar visibility modes and settings
This commit is contained in:
@@ -574,7 +574,9 @@ final class PlayerModel: ObservableObject {
|
||||
closePiP()
|
||||
|
||||
prepareCurrentItemForHistory(finished: finished)
|
||||
currentItem = nil
|
||||
withAnimation {
|
||||
currentItem = nil
|
||||
}
|
||||
updateNowPlayingInfo()
|
||||
|
||||
backend.closeItem()
|
||||
|
@@ -48,7 +48,9 @@ extension PlayerModel {
|
||||
|
||||
comments.reset()
|
||||
stream = nil
|
||||
currentItem = item
|
||||
withAnimation {
|
||||
currentItem = item
|
||||
}
|
||||
|
||||
if !time.isNil {
|
||||
currentItem.playbackTime = time
|
||||
@@ -204,7 +206,9 @@ extension PlayerModel {
|
||||
let item = PlayerQueueItem(video, playbackTime: atTime)
|
||||
|
||||
if play {
|
||||
currentItem = item
|
||||
withAnimation {
|
||||
currentItem = item
|
||||
}
|
||||
videoBeingOpened = video
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user