Skip to content

Commit

Permalink
Close #10
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Oct 9, 2021
1 parent 7b37679 commit ea34b38
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.11.7

# Mod Properties
mod_version = 1.5.0
mod_version = 1.5.1
maven_group = com.example
archives_base_name = better-recipe-book

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void reset() {
u = 18;
}

this.settingsButton = new TexturedButtonWidget(i + 11, j + 137, 16, 16, u, 73, 18, BUTTON_TEXTURE, button -> {
this.settingsButton = new TexturedButtonWidget(i + 11, j + 137, 16, 18, u, 77, 19, BUTTON_TEXTURE, button -> {
MinecraftClient.getInstance().setScreen(AutoConfig.getConfigScreen(Config.class, MinecraftClient.getInstance().currentScreen).get());
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ public void reset(CallbackInfo ci) {
int i = (this.parentWidth - 147) / 2 - this.leftOffset;
int j = (this.parentHeight - 166) / 2;

this.instantCraftButton = new ToggleButtonWidget(i + 110, j + 137, 26, 16, BetterRecipeBook.instantCraftingManager.on);
this.instantCraftButton = new ToggleButtonWidget(i + 110, j + 137, 26, 16 + 2, BetterRecipeBook.instantCraftingManager.on);
if (BetterRecipeBook.config.darkMode) {
this.instantCraftButton.setTextureUV(0, 36, 28, 18, BUTTON_TEXTURE);
this.instantCraftButton.setTextureUV(0, 36 + 2, 28, 18 + 1, BUTTON_TEXTURE);
} else {
this.instantCraftButton.setTextureUV(0, 0, 28, 18, BUTTON_TEXTURE);
this.instantCraftButton.setTextureUV(0, 0, 28, 18 + 1, BUTTON_TEXTURE);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void reset(CallbackInfo ci) {
u = 18;
}

this.settingsButton = new TexturedButtonWidget(i + 11, j + 137, 16, 16, u, 73, 18, BUTTON_TEXTURE, button -> {
this.settingsButton = new TexturedButtonWidget(i + 11, j + 137, 16, 18, u, 77, 19, BUTTON_TEXTURE, button -> {
MinecraftClient.getInstance().setScreen(AutoConfig.getConfigScreen(Config.class, MinecraftClient.getInstance().currentScreen).get());
});
}
Expand Down
Binary file not shown.
Loading
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 ea34b38

Please sign in to comment.