mirror of
https://github.com/yattee/yattee.git
synced 2026-06-05 06:14:18 +00:00
Keep macOS play pause control visible
This commit is contained in:
@@ -832,11 +832,7 @@ struct ControlsSectionRenderer: View {
|
||||
// MARK: - Transport State
|
||||
|
||||
private var isTransportDisabled: Bool {
|
||||
let state = actions.playerState
|
||||
return state.playbackState == .loading ||
|
||||
state.playbackState == .buffering ||
|
||||
!state.isFirstFrameReady ||
|
||||
!state.isBufferReady
|
||||
actions.playerState.isTransportDisabled
|
||||
}
|
||||
|
||||
// MARK: - Playback Speed Menu
|
||||
|
||||
Reference in New Issue
Block a user