mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
render: reduce URL jump label margins
This commit is contained in:
parent
82e2541760
commit
d69497efe4
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -2555,7 +2555,7 @@ render_urls(struct terminal *term)
|
||||||
size_t len = wcslen(label);
|
size_t len = wcslen(label);
|
||||||
int cols = wcswidth(label, len);
|
int cols = wcswidth(label, len);
|
||||||
|
|
||||||
const int margin = 3 * term->scale;
|
const int margin = 2 * term->scale;
|
||||||
int width = 2 * margin + cols * term->cell_width;
|
int width = 2 * margin + cols * term->cell_width;
|
||||||
int height = 2 * margin + term->cell_height;
|
int height = 2 * margin + term->cell_height;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue