mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Add a debug node for CSS outlines
All the other CSS render operations have one, so outlines should, too. This was found by tracking down a random border node in a rendering.
This commit is contained in:
parent
524d681496
commit
28d38cd730
@ -753,10 +753,12 @@ gtk_css_style_snapshot_outline (GtkCssBoxes *boxes,
|
||||
border_width[3] = border_width[2] = border_width[1] = border_width[0];
|
||||
colors[0] = colors[1] = colors[2] = colors[3] = *color;
|
||||
|
||||
gtk_snapshot_push_debug (snapshot, "CSS outline");
|
||||
snapshot_border (snapshot,
|
||||
gtk_css_boxes_get_outline_box (boxes),
|
||||
border_width,
|
||||
colors,
|
||||
border_style);
|
||||
gtk_snapshot_pop (snapshot);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user