Skip to content

Commit

Permalink
fix gui height with a 1-row table
Browse files Browse the repository at this point in the history
  • Loading branch information
LemmaEOF committed Nov 5, 2019
1 parent 34baf90 commit e73ce52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(rootProject.file('private.gradle').exists()) { //Publishing details

archivesBaseName = "artis"
group = "io.github.alloffabric"
version = "1.0.0+1.14.4"
version = "1.0.1+1.14.4"

minecraft {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public ContainerLayout(int gridColumns, int gridRows) {
arrowX += gridX;

this.playerX = playerWidth > craftingWidth? 0 : ((craftingWidth - playerWidth) / 2) + 2;
this.playerY = gridY + gridHeight + 8;
this.playerY = gridY + Math.max(48, gridHeight + 8);
}

public int getGridX() {
Expand Down

0 comments on commit e73ce52

Please sign in to comment.