Add scroll sentence into view when playing all #9
This commit is contained in:
@@ -1625,6 +1625,7 @@ public class AudiobookRecorder extends JFrame {
|
|||||||
play.start();
|
play.start();
|
||||||
|
|
||||||
while (playing != null) {
|
while (playing != null) {
|
||||||
|
bookTree.scrollPathToVisible(new TreePath(s.getPath()));
|
||||||
DefaultMutableTreeNode prev = s.getPreviousSibling();
|
DefaultMutableTreeNode prev = s.getPreviousSibling();
|
||||||
boolean first = false;
|
boolean first = false;
|
||||||
if (prev == null) {
|
if (prev == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user