diff src/name/blackcap/clipman/PasteboardQueue.kt @ 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 d832c7b2bfd0
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)