mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 18:35:05 +00:00
Prevent tvOS focus shadow from clipping between Home sections
This commit is contained in:
@@ -49,5 +49,8 @@ struct HomeHorizontalCards: View {
|
|||||||
.focusSection()
|
.focusSection()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#if os(tvOS)
|
||||||
|
.scrollClipDisabled()
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -235,6 +235,7 @@ struct HomeView: View {
|
|||||||
homeContent
|
homeContent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.scrollClipDisabled()
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
let backgroundStyle: ListBackgroundStyle = listStyle == .inset ? .grouped : .plain
|
let backgroundStyle: ListBackgroundStyle = listStyle == .inset ? .grouped : .plain
|
||||||
|
|||||||
Reference in New Issue
Block a user