Skip to content

Commit

Permalink
WLabeledSlider: Make height freely adjustable
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Oct 15, 2023
1 parent 0f122f2 commit 41726ca
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 41726ca

Please sign in to comment.