render: urls(): round scaling factor

This commit is contained in:
Daniel Eklöf 2023-06-22 14:35:29 +02:00
parent 30c8d3e652
commit d8f64d1047
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;