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

(cherry picked from commit 3d1a9eeb1b)
This commit is contained in:
zeertzjq
2023-05-03 00:43:55 +08:00
committed by github-actions[bot]
parent 4d1d9472fe
commit 5fbe8409b5
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);