aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WListPanel.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WListPanel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WListPanel.java
index 9b0bc58..d36fb70 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WListPanel.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WListPanel.java
@@ -88,18 +88,6 @@ public class WListPanel<D, W extends WWidget> extends WClippedPanel {
}
super.paint(context, x, y, mouseX, mouseY);
- /*
- if (getBackgroundPainter()!=null) {
- getBackgroundPainter().paintBackground(x, y, this);
- } else {
- ScreenDrawing.drawBeveledPanel(x, y, width, height);
- }
-
-
-
- for(WWidget child : children) {
- child.paintBackground(x + child.getX(), y + child.getY(), mouseX - child.getX(), mouseY - child.getY());
- }*/
}
private W createChild() {