Make the Back button first in the keybind dialog (#12604)

This commit is contained in:
Cardillan
2026-09-06 10:32:35 -04:00
committed by GitHub
parent c81d0eb025
commit c477c767c5
@@ -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;