mirror of
https://github.com/yattee/yattee.git
synced 2024-11-09 15:58:20 +00:00
fix broken fullscreen on macOS
This commit is contained in:
parent
df47ffb013
commit
c3e1465f31
@ -43,10 +43,10 @@ struct VideoPlayerSizeModifier: ViewModifier {
|
||||
}
|
||||
|
||||
var usedAspectRatioContentMode: ContentMode {
|
||||
#if os(iOS)
|
||||
fullScreen ? .fill : .fit
|
||||
#if os(tvOS)
|
||||
.fit
|
||||
#else
|
||||
.fit
|
||||
fullScreen ? .fill : .fit
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user