diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-11-18 22:11:30 +0200 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-11-18 22:11:30 +0200 |
commit | 20e4bcf624d211ac0be0cfad54d795fff2e3fec0 (patch) | |
tree | 30400307e120bab6a6071293817604dc8c36b4b9 /src/main/java | |
parent | 0a45702f19dd836a5b00f43e784cf7ce197efc5b (diff) | |
download | LibGui-20e4bcf624d211ac0be0cfad54d795fff2e3fec0.tar.gz LibGui-20e4bcf624d211ac0be0cfad54d795fff2e3fec0.tar.bz2 LibGui-20e4bcf624d211ac0be0cfad54d795fff2e3fec0.zip |
WItemSlot: Fix default value of iconOnlyPaintedForEmptySlots
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java index 1650e2a..f5e90ef 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java @@ -88,7 +88,7 @@ public class WItemSlot extends WWidget { private BackgroundPainter backgroundPainter = null; @Nullable private Icon icon = null; - private boolean iconOnlyPaintedForEmptySlots = true; + private boolean iconOnlyPaintedForEmptySlots = false; private Inventory inventory; private int startIndex = 0; private int slotsWide = 1; |