Avoid inverting the colors of movies and series posters when using Smart Invert
This commit is contained in:
parent
e069c69d13
commit
be0e3c5097
|
@ -34,6 +34,7 @@ struct EpisodeRowCard: View {
|
|||
}
|
||||
}
|
||||
.padding(.top)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
Text(episode.getEpisodeLocator() ?? "S-:E-")
|
||||
|
|
|
@ -48,6 +48,7 @@ struct PortraitImageHStackView<TopBarView: View, ItemType: PortraitImageStackabl
|
|||
failureInitials: item.failureInitials)
|
||||
.portraitPoster(width: maxWidth)
|
||||
.shadow(radius: 4, y: 2)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
|
||||
if item.showTitle {
|
||||
Text(item.title)
|
||||
|
|
|
@ -40,6 +40,7 @@ struct PortraitItemButton<ItemType: PortraitImageStackable>: View {
|
|||
failureInitials: item.failureInitials)
|
||||
.portraitPoster(width: maxWidth)
|
||||
.shadow(radius: 4, y: 2)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
|
||||
if item.showTitle {
|
||||
Text(item.title)
|
||||
|
|
|
@ -29,6 +29,7 @@ struct ContinueWatchingView: View {
|
|||
ZStack {
|
||||
ImageView(src: item.getBackdropImage(maxWidth: 320), bh: item.getBackdropImageBlurHash())
|
||||
.frame(width: 320, height: 180)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
|
||||
HStack {
|
||||
VStack {
|
||||
|
|
|
@ -28,6 +28,7 @@ struct ItemLandscapeMainView: View {
|
|||
bh: viewModel.item.getPrimaryImageBlurHash())
|
||||
.frame(width: 130, height: 195)
|
||||
.cornerRadius(10)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
|
||||
Spacer().frame(height: 15)
|
||||
|
||||
|
@ -100,6 +101,7 @@ struct ItemLandscapeMainView: View {
|
|||
.edgesIgnoringSafeArea(.all)
|
||||
.blur(radius: 8)
|
||||
.layoutPriority(-1)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
|
||||
// iPadOS is making the view go all the way to the edge.
|
||||
// We have to accomodate this here
|
||||
|
|
|
@ -26,6 +26,7 @@ struct PortraitHeaderOverlayView: View {
|
|||
|
||||
ImageView(src: viewModel.item.portraitHeaderViewURL(maxWidth: 130))
|
||||
.portraitPoster(width: 130)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
|
||||
VStack(alignment: .leading, spacing: 1) {
|
||||
Spacer()
|
||||
|
|
|
@ -23,6 +23,7 @@ struct ItemPortraitMainView: View {
|
|||
bh: viewModel.item.getBackdropImageBlurHash())
|
||||
.opacity(0.4)
|
||||
.blur(radius: 2.0)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
}
|
||||
|
||||
// MARK: portraitStaticOverlayView
|
||||
|
|
|
@ -82,6 +82,7 @@ struct LibraryListView: View {
|
|||
ZStack {
|
||||
ImageView(src: library.getPrimaryImage(maxWidth: 500), bh: library.getPrimaryImageBlurHash())
|
||||
.opacity(0.4)
|
||||
.accessibilityIgnoresInvertColors()
|
||||
HStack {
|
||||
Spacer()
|
||||
VStack {
|
||||
|
|
Loading…
Reference in New Issue