mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +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 {
|
var usedAspectRatioContentMode: ContentMode {
|
||||||
#if os(iOS)
|
#if os(tvOS)
|
||||||
fullScreen ? .fill : .fit
|
.fit
|
||||||
#else
|
#else
|
||||||
.fit
|
fullScreen ? .fill : .fit
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user