Commit 1acdea21 authored by Christian Hergert's avatar Christian Hergert
Browse files

gutterrenderertext: avoid half-pixel boundaries

This fixes an issue where we might get different alignments for gutter
lines depending if first/last/cell are used.

Related #227
parent 32c049d5
Pipeline #328306 passed with stages
in 4 minutes and 33 seconds
......@@ -151,8 +151,8 @@ gtk_source_gutter_renderer_text_snapshot_line (GtkSourceGutterRenderer *renderer
gtk_snapshot_render_layout (snapshot,
gtk_widget_get_style_context (GTK_WIDGET (text)),
ceilf (x),
ceilf (y),
if (priv->is_markup)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment