From e4753791c07ee9db3456083d9900aae6164707ec Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 16 Apr 2024 17:02:13 -0400 Subject: [PATCH] video: Use the black-background property Instead of hardcoding a black background in the theme, use the new property to tell the GtkGraphicsOffload widget to draw one. --- gtk/theme/Default/_common.scss | 3 --- gtk/ui/gtkvideo.ui | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 883e37fe8c..fd9dc8607b 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -3940,9 +3940,6 @@ video { min-height: 64px; border-radius: 32px; } - & graphicsoffload > picture { - background: black; - } } /************ diff --git a/gtk/ui/gtkvideo.ui b/gtk/ui/gtkvideo.ui index 424abfb6f0..aa5574557f 100644 --- a/gtk/ui/gtkvideo.ui +++ b/gtk/ui/gtkvideo.ui @@ -6,6 +6,7 @@ disabled + 1