aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}
//}
}