Skip to content

Commit

Permalink
Fixed height for hub component
Browse files Browse the repository at this point in the history
  • Loading branch information
uoil committed Nov 27, 2020
1 parent 8b57b55 commit 6d0cd35
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ public final class HubComponent extends ResizableHudComponent {
private final Texture texture;

public HubComponent() {
super("Hub", 100, 150);
super("Hub", 100, 120);
this.texture = new Texture("module-hub.png");

this.setVisible(true);
this.setSnappable(false);
this.setW(100);
this.setH(150);
this.setH(120);
this.setX((Minecraft.getMinecraft().displayWidth / 2.0f) - (this.getW() / 2));
this.setY((Minecraft.getMinecraft().displayHeight / 2.0f) - (this.getH() / 2));
}
Expand Down

0 comments on commit 6d0cd35

Please sign in to comment.