forked from aniani/vim
patch 8.2.5042: scrollbar thumb in tall scrolled popup not visible
Problem: Scrollbar thumb in tall scrolled popup not visible. Solution: Show at least one thumb character. (fixes 10492)
This commit is contained in:
@@ -4108,7 +4108,7 @@ update_popups(void (*win_update)(win_T *wp))
|
||||
last = total_height - top_off - wp->w_popup_border[2];
|
||||
if (sb_thumb_top >= last)
|
||||
// show at least one character
|
||||
sb_thumb_top = last;
|
||||
sb_thumb_top = last - 1;
|
||||
|
||||
if (wp->w_scrollbar_highlight != NULL)
|
||||
attr_scroll = syn_name2attr(wp->w_scrollbar_highlight);
|
||||
|
Reference in New Issue
Block a user