mirror of
https://gitlab.freedesktop.org/pipewire/helvum
synced 2026-03-15 03:26:10 +08:00
node: Remove transparency in dark mode, improve contrast to graphview in light mode
This commit is contained in:
@@ -35,8 +35,10 @@
|
||||
color: black;
|
||||
}
|
||||
|
||||
graphview {
|
||||
background-color: @view_bg_color;
|
||||
node {
|
||||
/* Compared to the default card color, this is not transparent in dark-mode
|
||||
and provides a better contrast to the background in light mode */
|
||||
background-color: @headerbar_bg_color;
|
||||
}
|
||||
|
||||
node label.heading {
|
||||
|
||||
@@ -128,6 +128,8 @@ mod imp {
|
||||
fn constructed(&self) {
|
||||
self.parent_constructed();
|
||||
|
||||
self.obj().add_css_class("view");
|
||||
|
||||
self.obj().set_overflow(gtk::Overflow::Hidden);
|
||||
|
||||
self.setup_node_dragging();
|
||||
|
||||
Reference in New Issue
Block a user