From 5172756942c1d5dc065afcc9be8d229e83ca1b44 Mon Sep 17 00:00:00 2001 From: Juuxel Date: Tue, 27 Aug 2019 21:30:41 +0300 Subject: Make some slider constants public --- src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/io') 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; * */ 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; -- cgit