diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-30 13:20:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-30 13:20:56 +0100 |
commit | 89b25585ccecf223ca41ca212df8ebc227fc035a (patch) | |
tree | e571445a3cc8c0ec19e5d32cafc1d0943b1bd068 /src/testdir/test_popupwin.vim | |
parent | 9e636b9d2ef54552383daebf290d916b3d001823 (diff) | |
download | vim-git-89b25585ccecf223ca41ca212df8ebc227fc035a.tar.gz |
patch 8.2.5042: scrollbar thumb in tall scrolled popup not visiblev8.2.5042
Problem: Scrollbar thumb in tall scrolled popup not visible.
Solution: Show at least one thumb character. (fixes 10492)
Diffstat (limited to 'src/testdir/test_popupwin.vim')
-rw-r--r-- | src/testdir/test_popupwin.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index 7fc5ef573..950edf2ad 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -2344,8 +2344,8 @@ func Test_popup_scrollbar() endfunc func ScrollBottom() call popup_clear() - let id = CreatePopup(range(20)->map({k, v -> string(v)})) - call popup_setoptions(id, #{firstline: 20}) + let id = CreatePopup(range(100)->map({k, v -> string(v)})) + call popup_setoptions(id, #{firstline: 100, minheight: 9, maxheight: 9}) endfunc map <silent> <F3> :call test_setmouse(5, 36)<CR> map <silent> <F4> :call test_setmouse(4, 42)<CR> |