change default minWidth with hidden sidebar

This commit is contained in:
Toni Förster
2023-11-21 17:49:29 +01:00
parent 8900f96ce7
commit df47ffb013

View File

@@ -156,7 +156,7 @@ struct VideoPlayerView: View {
.persistentSystemOverlays(!fullScreenPlayer)
#endif
#if os(macOS)
.frame(minWidth: 1100, minHeight: 700)
.frame(minWidth: playerSidebar != .never ? 1100 : 650, minHeight: 700)
#endif
}