Moved "Main Menu" Button in Replay Center to the right side because it annoyed Hudeler | https://trello.com/c/wUiKfybu/

This commit is contained in:
CrushedPixel
2015-07-03 00:26:26 +02:00
parent ff9e341c9a
commit 6a3104c6bc
3 changed files with 6 additions and 9 deletions

View File

@@ -119,11 +119,10 @@ public class GuiReplayViewer extends GuiScreen implements GuiYesNoCallback {
@Override
public void initGui() {
replayGuiList = new ReplayList(this, this.mc, this.width, this.height, 32, this.height - 64, 36);
Keyboard.enableRepeatEvents(true);
this.buttonList.clear();
if(!this.initialized) {
replayGuiList = new ReplayList(this, this.mc, this.width, this.height, 32, this.height - 64, 36);
this.initialized = true;
} else {
this.replayGuiList.setDimensions(this.width, this.height, 32, this.height - 64);