Skip to content

Commit

Permalink
fix: GUI offsets in BoatyardScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
SammyForReal committed Jan 2, 2024
1 parent 2104f9b commit 99e8b35
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ class BoatyardScreen(
}

override fun init() {
super.init()

imageWidth = 183
imageHeight = 178

titleLabelX = 8
titleLabelY -= 6
inventoryLabelY += 5
titleLabelY = 0
inventoryLabelY = 79

//addWidget()
this.leftPos = (this.width - this.imageWidth) / 2 + 3
this.topPos = (this.height - this.imageHeight) / 2 + 6
}

override fun renderBg(guiGraphics: GuiGraphics, delta: Float, mouseX: Int, mouseY: Int) {
Expand Down

0 comments on commit 99e8b35

Please sign in to comment.