1
0
forked from Clones/Controlify

🐛 Radial menu: fix not being able to back out of edit screen after changing an action

This commit is contained in:
isXander
2023-08-07 20:12:59 +01:00
parent efc08f9923
commit 6bbab1eb3c

View File

@ -120,6 +120,7 @@ public class RadialMenuScreen extends Screen implements ScreenControllerEventLis
}
if (editMode && controller.bindings().GUI_BACK.justPressed()) {
playClickSound();
onClose();
}
@ -184,6 +185,7 @@ public class RadialMenuScreen extends Screen implements ScreenControllerEventLis
private void finishEditing() {
isEditing = false;
removeWidget(actionSelectList);
this.setFocused(null);
actionSelectList = null;
}