mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-03 08:15:48 +00:00
Fix list scrollbar position miscalculation
This commit is contained in:
parent
ec647fb940
commit
b5c72e3b0f
@ -327,7 +327,7 @@ list_paint (void *vself, const grub_video_rect_t *region)
|
||||
draw_scrollbar (self,
|
||||
self->first_shown_index, num_shown_items,
|
||||
0, self->view->menu->size,
|
||||
content_rect.width - box_right_pad
|
||||
self->bounds.width - box_right_pad
|
||||
+ self->scrollbar_width,
|
||||
box_top_pad + self->item_padding,
|
||||
content_rect.height - box_top_pad - box_bottom_pad);
|
||||
|
Loading…
Reference in New Issue
Block a user