aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJuuxel <kasperi.kauppi@gmail.com>2019-08-27 21:30:41 +0300
committerJuuxel <kasperi.kauppi@gmail.com>2019-08-27 21:30:41 +0300
commit5172756942c1d5dc065afcc9be8d229e83ca1b44 (patch)
tree778d5f37826dc8d149889035f3ba6bcaa18f74fe /src/main
parentff9d53f7bcf8719578a6b87ec697fa6957bd209c (diff)
downloadLibGui-5172756942c1d5dc065afcc9be8d229e83ca1b44.tar.gz
LibGui-5172756942c1d5dc065afcc9be8d229e83ca1b44.tar.bz2
LibGui-5172756942c1d5dc065afcc9be8d229e83ca1b44.zip
Make some slider constants public
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java
index 7de2deb..d475fe4 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java
@@ -26,9 +26,9 @@ import java.util.function.IntConsumer;
* </ul>
*/
public class WSlider extends WWidget {
- private static final int TRACK_WIDTH = 6;
- private static final int THUMB_SIZE = 8;
- private static final Identifier TEXTURE = new Identifier("libgui", "textures/widget/slider.png");
+ public static final int TRACK_WIDTH = 6;
+ public static final int THUMB_SIZE = 8;
+ public static final Identifier TEXTURE = new Identifier("libgui", "textures/widget/slider.png");
private final int min, max;
private final int valueRange;