Skip to content

Commit dbeb597

Browse files
committed
Fix option tab navigation
1 parent c32f882 commit dbeb597

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/src/main/java/net/caffeinemc/mods/sodium/client/gui/options/control/ControlElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public int getY() {
8585
}
8686

8787
if (this.children().isEmpty()) {
88-
return ComponentPath.leaf(this);
88+
return !this.isFocused() ? ComponentPath.leaf(this) : null;
8989
}
9090

9191
return super.nextFocusPath(event);

0 commit comments

Comments
 (0)