mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-02 14:13:48 +00:00
Align ref label on the pixel
This commit is contained in:
parent
5a1efe6b7f
commit
ea93597b9c
|
@ -115,20 +115,21 @@ namespace GitgGtk
|
|||
context.save();
|
||||
|
||||
var style_class = class_from_ref(r.parsed_name.rtype);
|
||||
|
||||
if (style_class != null)
|
||||
{
|
||||
context.add_class(style_class);
|
||||
}
|
||||
|
||||
context.render_background(cr,
|
||||
x + 0.5,
|
||||
y + margin + 0.5,
|
||||
x,
|
||||
y + margin,
|
||||
w + padding * 2,
|
||||
height - margin * 2);
|
||||
|
||||
context.render_frame(cr,
|
||||
x + 0.5,
|
||||
y + margin + 0.5,
|
||||
x,
|
||||
y + margin,
|
||||
w + padding * 2,
|
||||
height - margin * 2);
|
||||
|
||||
|
|
Loading…
Reference in a new issue