Skip to content

Commit

Permalink
Fix initial focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 22, 2024
1 parent a68c90d commit 829b529
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected void init() {
usernameField = addWidget(new EditBox(font, width / 2 - 100, 66, 200, 20, FRIEND_USERNAME_TEXT));
usernameField.setMaxLength(36);
//#if MC >= 1.19.4
usernameField.setFocused(true);
setInitialFocus(usernameField);
//#else
//$$ usernameField.setFocus(true);
//#endif
Expand Down

0 comments on commit 829b529

Please sign in to comment.