mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: urls: positioning: place a bit further away from the starting position
This commit is contained in:
parent
2315aba458
commit
44b7758416
1 changed files with 2 additions and 2 deletions
4
render.c
4
render.c
|
|
@ -2565,8 +2565,8 @@ render_urls(struct terminal *term)
|
|||
const struct coord *pos = &url->start;
|
||||
wl_subsurface_set_position(
|
||||
sub_surf,
|
||||
(term->margins.left + pos->col * term->cell_width - term->cell_width) / term->scale,
|
||||
(term->margins.top + pos->row * term->cell_height - term->cell_height / 2) / term->scale);
|
||||
(term->margins.left + pos->col * term->cell_width - 2 * term->cell_width) / term->scale,
|
||||
(term->margins.top + pos->row * term->cell_height - term->cell_height) / term->scale);
|
||||
render_osd(term, surf, sub_surf, buf, label,
|
||||
term->colors.table[0], term->colors.table[3], 0xf000,
|
||||
width, height, margin, margin);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue