Add missing overline color support
This was overlooked when overlines were added. Without this, overlines will come out in the the wrong color.
This commit is contained in:
@@ -409,6 +409,11 @@ gsk_pango_renderer_prepare_run (PangoRenderer *renderer,
|
||||
}
|
||||
else
|
||||
text_renderer_set_rgba (crenderer, PANGO_RENDER_PART_UNDERLINE, fg_rgba);
|
||||
|
||||
if (appearance->overline_rgba)
|
||||
text_renderer_set_rgba (crenderer, PANGO_RENDER_PART_OVERLINE, appearance->overline_rgba);
|
||||
else
|
||||
text_renderer_set_rgba (crenderer, PANGO_RENDER_PART_OVERLINE, fg_rgba);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user