Skip to content

Commit

Permalink
Improve the look of the crafting item tab at the top of the recipes gui
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Apr 29, 2016
1 parent 6ffdee5 commit b013843
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/mezz/jei/gui/RecipesGui.java
Expand Up @@ -103,7 +103,7 @@ public void initGui() {
this.backgroundTexture = recipeBackgroundResource;
}

this.recipeCategoryCraftItemBox = Internal.getHelpers().getGuiHelper().createDrawable(recipeBackgroundResource, 215, 0, 28, 24);
this.recipeCategoryCraftItemBox = Internal.getHelpers().getGuiHelper().createDrawable(recipeBackgroundResource, 215, 0, 28, 25);

this.guiLeft = (width - this.xSize) / 2;
this.guiTop = (height - this.ySize) / 2;
Expand Down Expand Up @@ -212,7 +212,7 @@ private Rectangle getRecipeCraftingItemArea() {
return null;
}
int x = guiLeft + ((xSize - recipeCategoryCraftItemBox.getWidth()) / 2);
int y = guiTop - recipeCategoryCraftItemBox.getHeight();
int y = guiTop - recipeCategoryCraftItemBox.getHeight() + 3;
return new Rectangle(x, y, recipeCategoryCraftItemBox.getWidth(), recipeCategoryCraftItemBox.getHeight());
}

Expand Down
Binary file modified src/main/resources/assets/jei/textures/gui/recipeBackground.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b013843

Please sign in to comment.