Skip to content

Commit

Permalink
Fix button position
Browse files Browse the repository at this point in the history
  • Loading branch information
IotaBread committed Jan 11, 2021
1 parent 05bf973 commit 82caa59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected PackScreenMixin(Text title) {
private void addVTDButton(CallbackInfo info) {
// Checks if it is the resource pack screen and not the data pack screen
if (this.file == this.client.getResourcePackDir()) {
this.addButton(new ButtonWidget(this.width / 2 - 60, this.height - 24, 150, 20, new TranslatableText("vtd.resourcePack.button"), button -> {
this.addButton(new ButtonWidget(this.width / 2 - 75, this.height - 24, 150, 20, new TranslatableText("vtd.resourcePack.button"), button -> {
this.client.openScreen(new VTDScreen(this, VTD_RESOURCE_PACK_SUBTITLE));
}));
}
Expand Down

0 comments on commit 82caa59

Please sign in to comment.