diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java index 3a2f9677..a80327a4 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java @@ -76,15 +76,6 @@ public WLabeledSlider(int min, int max, @Nullable Text label) { this.label = label; } - @Override - public void setSize(int x, int y) { - if (axis == Axis.HORIZONTAL) { - super.setSize(x, 20); - } else { - super.setSize(20, y); - } - } - /** * Gets the current label of this slider. *