Skip to content

Commit

Permalink
🐛 fix config screen
Browse files Browse the repository at this point in the history
  • Loading branch information
kitUIN committed Dec 3, 2024
1 parent 936dae1 commit 25a3b44
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ protected ConfigRawScreen(#Component# title, #Screen# screen) {
this.parent = screen;
}
public void render(#GuiGraphics# matrixStack, int mouseX, int mouseY, float partialTicks) {
super.render(matrixStack, mouseX, mouseY, partialTicks);
// IF <= forge-1.19
// renderBackground(matrixStack);
// drawCenteredString(matrixStack, this.font,
Expand All @@ -27,7 +26,7 @@ public void render(#GuiGraphics# matrixStack, int mouseX, int mouseY, float part
// matrixStack.drawCenteredString(this.font,
// title, this.width / 2, this.height / 4 - 16, 16764108);
// END IF

super.render(matrixStack, mouseX, mouseY, partialTicks);
}
protected SettingSliderWidget.OnTooltip createSliderTooltip(#Component# text) {
return new SettingSliderWidget.OnTooltip() {
Expand All @@ -47,7 +46,7 @@ public void narrateTooltip(Consumer<#Component#> p_168842_) {
};
}
// IF <= forge-1.19
// protected #Button.OnTooltip# createButtonTooltip(#Component# text) {
// protected #Button.OnTooltip# #kituin$createButtonTooltip#(#Component# text) {
// return new #Button.OnTooltip#() {
// public void onTooltip(#Button# p_93753_, #GuiGraphics# p_93754_, int p_93755_, int p_93756_) {
// if (text != null) {
Expand Down

0 comments on commit 25a3b44

Please sign in to comment.