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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user