Disabled auto-scrolling on library item expansion.
This commit is contained in:
parent
8f68b2f61a
commit
e8bb7b9b66
@ -298,6 +298,7 @@ public class PlayerGUI implements PlayerCallbackInterface, LibraryCallbackInterf
|
|||||||
libraryView.setToggleClickCount(1);
|
libraryView.setToggleClickCount(1);
|
||||||
libraryView.setCellRenderer(new LibraryTreeCellRenderer());
|
libraryView.setCellRenderer(new LibraryTreeCellRenderer());
|
||||||
libraryView.addMouseListener(new LibraryMouseAdapter());
|
libraryView.addMouseListener(new LibraryMouseAdapter());
|
||||||
|
libraryView.setScrollsOnExpand(false);
|
||||||
return libraryView;
|
return libraryView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user