aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJuuxel <kasperi.kauppi@gmail.com>2019-07-29 15:04:20 +0300
committerJuuxel <kasperi.kauppi@gmail.com>2019-07-29 15:04:20 +0300
commite3b729744a62ad126dc4d162798aa92f042d92ba (patch)
tree5a1935e8b546183326a779bff95c5f52f9167522 /src/main
parente4276265b8b9e0244b7bc3d019032e423ce33307 (diff)
parent237bd167e0d501479d8215093e9658cf4fdd3f38 (diff)
downloadLibGui-e3b729744a62ad126dc4d162798aa92f042d92ba.tar.gz
LibGui-e3b729744a62ad126dc4d162798aa92f042d92ba.tar.bz2
LibGui-e3b729744a62ad126dc4d162798aa92f042d92ba.zip
Merge branch 'master' of https://github.com/CottonMC/LibGui into fix-tooltip-position
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/client/CottonScreen.java2
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);
}
//}
}