From 8bda03ee2c4ff54e8b1615d36f8ef5763307447c Mon Sep 17 00:00:00 2001 From: PartyDonut Date: Sun, 6 Oct 2024 19:35:57 +0200 Subject: [PATCH] [Bugfix] Fixed posters shadow bleeding --- lib/screens/shared/media/components/poster_image.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/screens/shared/media/components/poster_image.dart b/lib/screens/shared/media/components/poster_image.dart index 03d4ee4..f22f771 100644 --- a/lib/screens/shared/media/components/poster_image.dart +++ b/lib/screens/shared/media/components/poster_image.dart @@ -97,8 +97,8 @@ class _PosterImageState extends ConsumerState { onEnter: (event) => setState(() => hover = true), onExit: (event) => setState(() => hover = false), child: Card( - elevation: 8, - color: Theme.of(context).colorScheme.secondaryContainer.withOpacity(0.2), + elevation: 6, + color: Theme.of(context).colorScheme.secondaryContainer, shape: RoundedRectangleBorder( side: BorderSide( width: 1.0, @@ -191,6 +191,7 @@ class _PosterImageState extends ConsumerState { child: Card( color: Colors.transparent, elevation: 3, + shadowColor: Colors.transparent, child: LinearProgressIndicator( minHeight: 7.5, backgroundColor: Theme.of(context).colorScheme.onPrimary.withOpacity(0.5),