mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
Fix player width on macOS
This commit is contained in:
parent
65b3eb60d9
commit
6617ad5fc6
@ -89,14 +89,6 @@ struct VideoPlayerView: View {
|
|||||||
.onChange(of: playerSidebar) { _ in
|
.onChange(of: playerSidebar) { _ in
|
||||||
updateSidebarQueue()
|
updateSidebarQueue()
|
||||||
}
|
}
|
||||||
#if os(macOS)
|
|
||||||
.background(
|
|
||||||
EmptyView().sheet(isPresented: $navigation.presentingChannelSheet) {
|
|
||||||
ChannelVideosView(channel: navigation.channelPresentedInSheet, showCloseButton: true, inNavigationView: false)
|
|
||||||
.frame(minWidth: 1000, minHeight: 700)
|
|
||||||
}
|
|
||||||
)
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var videoPlayer: some View {
|
var videoPlayer: some View {
|
||||||
@ -189,7 +181,7 @@ struct VideoPlayerView: View {
|
|||||||
.persistentSystemOverlays(!fullScreenPlayer)
|
.persistentSystemOverlays(!fullScreenPlayer)
|
||||||
#endif
|
#endif
|
||||||
#if os(macOS)
|
#if os(macOS)
|
||||||
.frame(minWidth: 1000, minHeight: 700)
|
.frame(minWidth: 1100, minHeight: 700)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user