fix(pum): fix missing scrollbar with 'rightleft' (#23448)

This commit is contained in:
zeertzjq
2023-05-03 01:13:03 +08:00
committed by GitHub
parent bff3f4fa8b
commit 8bc973c6f5
2 changed files with 23 additions and 59 deletions

View File

@@ -452,6 +452,9 @@ void pum_redraw(void)
}
if (pum_scrollbar > 0) {
grid_width++;
if (pum_rl) {
col_off++;
}
}
grid_assign_handle(&pum_grid);