From 661708326f618f927c3ccbc576e363c174479664 Mon Sep 17 00:00:00 2001 From: mattsigal Date: Sat, 25 Jul 2026 02:47:38 -0700 Subject: [PATCH] =?UTF-8?q?=EF=BB=BFfix(player):=20add=20opaque=20solid=20?= =?UTF-8?q?black=20backdrop=20to=20video=20player=20stack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a Positioned.fill(child: ColoredBox(color: Colors.black)) at index 0 of VideoPlayerScreen's root Stack. This prevents underlying route bleed-through along letterbox borders for non-standard aspect ratio videos (e.g., 1920x804 / 2.39:1) and eliminates background UI ghosting when modal dialogs are open during playback. --- lib/ui/screens/playback/video_player_screen.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ui/screens/playback/video_player_screen.dart b/lib/ui/screens/playback/video_player_screen.dart index 278c2af50..f88d04f53 100644 --- a/lib/ui/screens/playback/video_player_screen.dart +++ b/lib/ui/screens/playback/video_player_screen.dart @@ -3419,6 +3419,9 @@ class _VideoPlayerScreenState extends State child: Stack( fit: StackFit.expand, children: [ + const Positioned.fill( + child: ColoredBox(color: Colors.black), + ), _buildVideoSurface(), _buildBringupOverlay(context), if (_isRestoringPosition)