You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TextWidget extends PressableTextWidget and it makes all text added by the mod "focusable". This messes up keyboard or gamepad navigation.
For example, if you start MC without any extra menu text configured, focus is by default on Singleplayer button.
Then if you use the config below (isxander-main-menu-credits.json), at start the focus will be on the TEST text widget even though it cannot be clicked. You must press DOWN to focus Singleplayer and can also then press UP to focus TEST widget again (which is confusing for the user).
TextWidget extends
PressableTextWidget
and it makes all text added by the mod "focusable". This messes up keyboard or gamepad navigation.For example, if you start MC without any extra menu text configured, focus is by default on
Singleplayer
button.Then if you use the config below (
isxander-main-menu-credits.json
), at start the focus will be on the TEST text widget even though it cannot be clicked. You must press DOWN to focusSingleplayer
and can also then press UP to focus TEST widget again (which is confusing for the user).The same goes when the text list is given by another plugin (via
MainMenuCreditAPI
).Suggestion: use
net.minecraft.client.gui.widget.TextWidget
when there is no click event configured forText
?The text was updated successfully, but these errors were encountered: