mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Fix banner content shape
This commit is contained in:
parent
52f96c3837
commit
5de52e55f6
@ -123,7 +123,6 @@ struct VideoBanner: View {
|
||||
#endif
|
||||
}
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
|
||||
#if os(tvOS)
|
||||
.buttonStyle(.card)
|
||||
.padding(.trailing, 10)
|
||||
@ -131,6 +130,7 @@ struct VideoBanner: View {
|
||||
.buttonStyle(.plain)
|
||||
#endif
|
||||
.opacity(contentOpacity)
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
|
||||
private var extraAttributes: some View {
|
||||
|
Loading…
Reference in New Issue
Block a user