diff options
author | isXander <xander@isxander.dev> | 2024-02-29 22:22:46 +0000 |
---|---|---|
committer | isXander <xander@isxander.dev> | 2024-02-29 22:22:46 +0000 |
commit | 308d882fc015fd448deb059b2a814246f7a32f05 (patch) | |
tree | 257777901c4db53220d4ae4ea869426633a42b25 /common/src/main/java/dev/isxander/yacl3/gui/controllers | |
parent | 0a10f11494db07f974b416c1f69184728b68374c (diff) | |
download | YetAnotherConfigLib-308d882fc015fd448deb059b2a814246f7a32f05.tar.gz YetAnotherConfigLib-308d882fc015fd448deb059b2a814246f7a32f05.tar.bz2 YetAnotherConfigLib-308d882fc015fd448deb059b2a814246f7a32f05.zip |
Start work on 1.20.5
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl3/gui/controllers')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl3/gui/controllers/dropdown/AbstractDropdownControllerElement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/gui/controllers/dropdown/AbstractDropdownControllerElement.java b/common/src/main/java/dev/isxander/yacl3/gui/controllers/dropdown/AbstractDropdownControllerElement.java index 0e62af4..31d4d51 100644 --- a/common/src/main/java/dev/isxander/yacl3/gui/controllers/dropdown/AbstractDropdownControllerElement.java +++ b/common/src/main/java/dev/isxander/yacl3/gui/controllers/dropdown/AbstractDropdownControllerElement.java @@ -226,7 +226,7 @@ public abstract class AbstractDropdownControllerElement<T, U> extends StringCont public void renderDropdownBackground(GuiGraphics graphics, int numberOfItems) { graphics.setColor(0.25f, 0.25f, 0.25f, 1.0f); - graphics.blit(Screen.BACKGROUND_LOCATION, getDimension().x(), getDimension().yLimit() + 2, 0, 0.0f, 0.0f, getDimension().width(), getDimension().height() * numberOfItems + 2, 32, 32); + graphics.blit(Screen.MENU_BACKGROUND, getDimension().x(), getDimension().yLimit() + 2, 0, 0.0f, 0.0f, getDimension().width(), getDimension().height() * numberOfItems + 2, 32, 32); graphics.setColor(1.0f, 1.0f, 1.0f, 1.0f); graphics.renderOutline(getDimension().x(), getDimension().yLimit() + 2, getDimension().width(), getDimension().height() * numberOfItems, -1); } |