diff options
author | isXander <xandersmith2008@gmail.com> | 2023-07-24 15:57:59 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-07-24 16:10:44 +0100 |
commit | 8211034ad491949b433b094b7d5c920f3ab7a378 (patch) | |
tree | b35fd6a0bee32cc79527a83f6bb85917bde211cb /common/src/main/java | |
parent | b5fdad973f499b6e26a885dba89e66ea2c29bde3 (diff) | |
download | YetAnotherConfigLib-8211034ad491949b433b094b7d5c920f3ab7a378.tar.gz YetAnotherConfigLib-8211034ad491949b433b094b7d5c920f3ab7a378.tar.bz2 YetAnotherConfigLib-8211034ad491949b433b094b7d5c920f3ab7a378.zip |
Whoops! Fix image renderer being rendered twice every frame
Diffstat (limited to 'common/src/main/java')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl3/gui/OptionDescriptionWidget.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/gui/OptionDescriptionWidget.java b/common/src/main/java/dev/isxander/yacl3/gui/OptionDescriptionWidget.java index 4fb937c..d0db6e4 100644 --- a/common/src/main/java/dev/isxander/yacl3/gui/OptionDescriptionWidget.java +++ b/common/src/main/java/dev/isxander/yacl3/gui/OptionDescriptionWidget.java @@ -76,7 +76,6 @@ public class OptionDescriptionWidget extends AbstractWidget { if (description.description().image().isDone()) { var image = description.description().image().join(); if (image.isPresent()) { - image.get().render(graphics, getX(), y, getWidth()); y += image.get().render(graphics, getX(), y, getWidth()) + 5; } } |