diff --git a/src/main/java/musicplayer/PlayerGUI.java b/src/main/java/musicplayer/PlayerGUI.java index ee6f0fd..a6ce247 100644 --- a/src/main/java/musicplayer/PlayerGUI.java +++ b/src/main/java/musicplayer/PlayerGUI.java @@ -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; }