Mercurial > cgi-bin > hgweb.cgi > ClipMan
changeset 2:6fb94eae32fa
Maybe this will auto-scroll reliably?
author | David Barts <n5jrn@me.com> |
---|---|
date | Sat, 18 Jan 2020 10:58:45 -0800 |
parents | fb224c3aebdf |
children | 70caa73e32f7 |
files | src/name/blackcap/clipman/PasteboardQueue.kt |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/name/blackcap/clipman/PasteboardQueue.kt Sat Jan 18 09:12:58 2020 -0800 +++ b/src/name/blackcap/clipman/PasteboardQueue.kt Sat Jan 18 10:58:45 2020 -0800 @@ -48,8 +48,8 @@ sp = sp.parent } (sp as JScrollPane).run { - revalidate() - verticalScrollBar.run { value = maximum } + validate() + verticalScrollBar.run { value = maximum + 1 } } } queue.addLast(item)