Skip to content

Commit

Permalink
Fixed keybinds button positioning again, and removed some keybind lab…
Browse files Browse the repository at this point in the history
…els.
  • Loading branch information
shravya132 committed Oct 17, 2024
1 parent a459840 commit b7a14e2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class KeybindsButtonDisplay extends UIComponent {
private Texture keybindsMenuTexture;
private String[] keybindsLabels = {"W - Move Up\nA - Move Left\nS - Move Down\nD - Move Right", "E - Pick Up",
"Q - Chop", "P - End Day Screen", "ESC - Pause", "F1 - Debug Terminal", "[ - Move Docket Left",
"] - Move Docket Right", "L - Loan Upgrade", "Z - Dance Party Upgrade", "R - Rage Upgrade", "0 - Recipe Card"};
"] - Move Docket Right", "R - Rage Upgrade", "0 - Recipe Card"};

public KeybindsButtonDisplay(Skin skin) {
super(skin);
Expand Down Expand Up @@ -83,9 +83,9 @@ public void showKeybinds(boolean isPressed) {
*/
public Table createButtonTable() {
keybindButton = new Table();
keybindButton.left();
keybindButton.bottom().right();
keybindButton.setFillParent(true);
keybindButton.padTop(270f).padLeft(20f);
keybindButton.padTop(270f).padLeft(10f);

TextButton button = new TextButton("Keybindings", skin);
button.addListener(new ChangeListener() {
Expand Down

0 comments on commit b7a14e2

Please sign in to comment.