Skip to content

Commit aa80cb4

Browse files
scroll to class selector path when navigating from entry tooltip parent
1 parent bbb34d4 commit aa80cb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

enigma-swing/src/main/java/org/quiltmc/enigma/gui/panel/EntryTooltip.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ public void mouseClicked(MouseEvent e) {
659659
EntryTooltip.this.gui.openDocker(docker.getClass());
660660

661661
selector.setSelectionPath(path);
662+
selector.scrollPathToVisible(path);
662663
selector.requestFocus();
663664

664665
return;

0 commit comments

Comments
 (0)