mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: urls(): round scaling factor
This commit is contained in:
parent
30c8d3e652
commit
d8f64d1047
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -3422,7 +3422,7 @@ render_urls(struct terminal *term)
|
|||
struct wl_window *win = term->window;
|
||||
xassert(tll_length(win->urls) > 0);
|
||||
|
||||
const int scale = term->scale;
|
||||
const int scale = round(term->scale);
|
||||
const int x_margin = 2 * scale;
|
||||
const int y_margin = 1 * scale;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue