mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: search_box(): round scaling factor
This commit is contained in:
parent
cf280e6655
commit
30c8d3e652
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -3132,7 +3132,7 @@ render_search_box(struct terminal *term)
|
|||
const size_t wanted_visible_cells = max(20, total_cells);
|
||||
|
||||
xassert(term->scale >= 1);
|
||||
const int scale = term->scale;
|
||||
const int scale = round(term->scale);
|
||||
|
||||
const size_t margin = 3 * scale;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue