Allow changing of background type of AbstractGuiScreen

This commit is contained in:
johni0702
2016-05-08 19:45:14 +02:00
parent 4cf44b91f8
commit 65cfdd13ec
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ public class PlayerOverviewGui extends GuiScreen implements Closeable {
}.setLabel("").setChecked(false);
{
setDrawBackground(false);
setBackground(Background.NONE);
setTitle(new GuiLabel().setI18nText("replaymod.input.playeroverview"));
setLayout(new CustomLayout<GuiScreen>() {
@Override

View File

@@ -176,7 +176,7 @@ public class GuiKeyframeRepository extends GuiScreen implements Closeable {
private Entry selectedEntry;
{
setDrawBackground(false);
setBackground(Background.NONE);
setLayout(new CustomLayout<GuiScreen>() {
@Override
protected void layout(GuiScreen container, int width, int height) {