aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2023-10-15 14:15:53 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2023-10-15 14:15:53 +0300
commit41726ca942739f7283e0530aaa08cece365b3146 (patch)
tree5b8223980601248819177c057f8739a03d8b8cfc /src/main
parent0f122f206046d5230627c337ddf0d862f6957f03 (diff)
downloadLibGui-41726ca942739f7283e0530aaa08cece365b3146.tar.gz
LibGui-41726ca942739f7283e0530aaa08cece365b3146.tar.bz2
LibGui-41726ca942739f7283e0530aaa08cece365b3146.zip
WLabeledSlider: Make height freely adjustable
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java9
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.
*