Skip to content

Commit

Permalink
Merge pull request #62 from buthed010203/main-1
Browse files Browse the repository at this point in the history
Improve pause dialog manipulation
  • Loading branch information
xzxADIxzx committed Aug 10, 2023
2 parents 6ac89a8 + 8aef043 commit a74c737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java/scheme/ui/dialogs/ManageRoomsDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ private void fixPausedDialog() {
root.row();
root.button("@manage.name", Icon.planet, this::show).colspan(2).width(450f).disabled(button -> !net.server()).row();

int index = state.isCampaign() || state.isEditor() ? 5 : 7;
root.getCells().insert(index, root.getCells().remove(index + 1));
var buttons = root.getCells();
buttons.swap(buttons.size() - 1, buttons.size - 2); // Move the claj button above the quit button
}

// region URL
Expand Down

0 comments on commit a74c737

Please sign in to comment.