Disabled auto-scrolling on library item expansion.

This commit is contained in:
neviyn 2016-02-29 03:03:34 +00:00
parent 8f68b2f61a
commit e8bb7b9b66

View File

@ -298,6 +298,7 @@ public class PlayerGUI implements PlayerCallbackInterface, LibraryCallbackInterf
libraryView.setToggleClickCount(1);
libraryView.setCellRenderer(new LibraryTreeCellRenderer());
libraryView.addMouseListener(new LibraryMouseAdapter());
libraryView.setScrollsOnExpand(false);
return libraryView;
}