diff options
author | Egmont Koblinger <egmont@gmail.com> | 2017-08-31 21:31:58 +0200 |
---|---|---|
committer | Egmont Koblinger <egmont@gmail.com> | 2017-08-31 21:31:58 +0200 |
commit | ba0e1e589faceb8bfdd716790f595f733f698a0d (patch) | |
tree | 401f88380df1f3cdbeb75ea75584ec5aeb4ce7f0 | |
parent | ea132fc22bdad37de04dea38ff8f7a95d2d79d1b (diff) | |
download | vte-ba0e1e589faceb8bfdd716790f595f733f698a0d.tar.gz |
widget: Use lighter dashed underline for hyperlinks
https://bugzilla.gnome.org/show_bug.cgi?id=786912
-rw-r--r-- | src/vte.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8885,11 +8885,11 @@ VteTerminalPrivate::draw_cells(struct _vte_draw_text_request *items, VTE_LINE_WIDTH, &fg, VTE_DRAW_OPAQUE); } else if (hyperlink) { - for (double j = 0.125; j < columns; j += 0.5) { + for (double j = 1.0 / 6.0; j < columns; j += 0.5) { _vte_draw_fill_rectangle(m_draw, x + j * column_width, y + row_height - 1, - column_width * 0.25, + MAX(column_width / 6.0, 1.0), 1, &fg, VTE_DRAW_OPAQUE); } |