From c477c767c546d1439e755edad7632a1d78c69d27 Mon Sep 17 00:00:00 2001 From: Cardillan <122014763+cardillan@users.noreply.github.com> Date: Sun, 6 Sep 2026 16:32:35 +0200 Subject: [PATCH] Make the Back button first in the keybind dialog (#12604) --- core/src/mindustry/ui/dialogs/KeybindDialog.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/mindustry/ui/dialogs/KeybindDialog.java b/core/src/mindustry/ui/dialogs/KeybindDialog.java index 8ce15053e9..542579099a 100644 --- a/core/src/mindustry/ui/dialogs/KeybindDialog.java +++ b/core/src/mindustry/ui/dialogs/KeybindDialog.java @@ -163,12 +163,11 @@ public class KeybindDialog extends Dialog{ title.setAlignment(Align.center); cont.add(rebindAxis ? bundle.get("keybind.press.axis") : bundle.get("keybind.press")).pad(40f); + buttons.button("@back", Icon.left, this::hide).size(bw, bh).get().addListener(blocker); buttons.button("@settings.unbindKey", Icon.cancel, () -> { keyBind.unset(); hide(); }).size(bw, bh).get().addListener(blocker); - - buttons.button("@back", Icon.left, this::hide).size(bw, bh).get().addListener(blocker); }}; rebindKey = keyBind;