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.
This commit is contained in:
@@ -3940,9 +3940,6 @@ video {
|
||||
min-height: 64px;
|
||||
border-radius: 32px;
|
||||
}
|
||||
& graphicsoffload > picture {
|
||||
background: black;
|
||||
}
|
||||
}
|
||||
|
||||
/************
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<child>
|
||||
<object class="GtkGraphicsOffload" id="graphics_offload">
|
||||
<property name="enabled">disabled</property>
|
||||
<property name="black-background">1</property>
|
||||
<property name="child"><object class="GtkPicture" id="video_picture"/></property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
Reference in New Issue
Block a user