diff options
author | Falkreon <falkreon@gmail.com> | 2019-07-28 15:03:01 -0500 |
---|---|---|
committer | Falkreon <falkreon@gmail.com> | 2019-07-28 15:03:01 -0500 |
commit | 237bd167e0d501479d8215093e9658cf4fdd3f38 (patch) | |
tree | 69289a2aeac0b569294edd47a8e7771b662ef9d0 /src | |
parent | 1fa69a1b0effc9f692bc7dd71bcdcfd89b8f5d8d (diff) | |
download | LibGui-237bd167e0d501479d8215093e9658cf4fdd3f38.tar.gz LibGui-237bd167e0d501479d8215093e9658cf4fdd3f38.tar.bz2 LibGui-237bd167e0d501479d8215093e9658cf4fdd3f38.zip |
Fix foreground layer painting
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/client/CottonScreen.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } //} } |