Add scroll sentence into view when playing all #9

This commit is contained in:
2018-09-23 15:45:35 +01:00
parent c591025b4f
commit 3036ef801b

View File

@@ -1625,6 +1625,7 @@ public class AudiobookRecorder extends JFrame {
play.start();
while (playing != null) {
bookTree.scrollPathToVisible(new TreePath(s.getPath()));
DefaultMutableTreeNode prev = s.getPreviousSibling();
boolean first = false;
if (prev == null) {