aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFalkreon <falkreon@gmail.com>2019-07-28 15:03:01 -0500
committerFalkreon <falkreon@gmail.com>2019-07-28 15:03:01 -0500
commit237bd167e0d501479d8215093e9658cf4fdd3f38 (patch)
tree69289a2aeac0b569294edd47a8e7771b662ef9d0
parent1fa69a1b0effc9f692bc7dd71bcdcfd89b8f5d8d (diff)
downloadLibGui-237bd167e0d501479d8215093e9658cf4fdd3f38.tar.gz
LibGui-237bd167e0d501479d8215093e9658cf4fdd3f38.tar.bz2
LibGui-237bd167e0d501479d8215093e9658cf4fdd3f38.zip
Fix foreground layer painting
-rw-r--r--gradle.properties2
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/client/CottonScreen.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/gradle.properties b/gradle.properties
index 187bb71..5ff8b68 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.4.8+build.158
# Mod Properties
- mod_version = 1.2.3
+ mod_version = 1.2.5
maven_group = io.github.cottonmc
archives_base_name = LibGui
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/CottonScreen.java b/src/main/java/io/github/cottonmc/cotton/gui/client/CottonScreen.java
index dc78a25..a961366 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/client/CottonScreen.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/client/CottonScreen.java
@@ -218,7 +218,7 @@ public class CottonScreen<T extends CottonScreenController> extends AbstractCont
}
if (this.container.getRootPanel()!=null) {
- this.container.getRootPanel().paintForeground(left, top, mouseX, mouseY);
+ this.container.getRootPanel().paintForeground(0, 0, mouseX, mouseY);
}
//}
}