diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java | 9 |
1 files changed, 0 insertions, 9 deletions
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 3a2f967..a80327a 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 class WLabeledSlider extends WAbstractSlider { 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. * |