aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorMeredith Espinosa <goclonefilms@gmail.com>2019-07-24 16:49:44 -0700
committerMeredith Espinosa <goclonefilms@gmail.com>2019-07-24 16:49:44 -0700
commit2fea106344bb346011c425b5416a738045ca3400 (patch)
treedbed839df2d5d91ff9d46cd0a42c1c4ecc8d3e0a /src/main/java/io
parentc62521e78d9e36969cd57767c951e4deab24d2a6 (diff)
downloadLibGui-2fea106344bb346011c425b5416a738045ca3400.tar.gz
LibGui-2fea106344bb346011c425b5416a738045ca3400.tar.bz2
LibGui-2fea106344bb346011c425b5416a738045ca3400.zip
do a transparency fix on the default WItemSlot draw method
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java4
1 files changed, 2 insertions, 2 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 0847dcb..9e8c452 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
@@ -113,9 +113,9 @@ public class WItemSlot extends WWidget {
} else {
for(int ix = 0; ix < getWidth()/18; ++ix) {
for(int iy = 0; iy < getHeight()/18; ++iy) {
- int lo = 0xFF373737;
+ int lo = 0xB8000000;
int bg = 0x4C000000;
- int hi = 0xFFFFFFFF;
+ int hi = 0xB8FFFFFF;
if (isBigSlot()) {
ScreenDrawing.drawBeveledPanel((ix * 18) + x - 4, (iy * 18) + y - 4, 24, 24,
lo, bg, hi);