From aa0f33ee8b6a711d6fa59a547d2a51041b409871 Mon Sep 17 00:00:00 2001 From: o0sh4d0w0o Date: Sat, 22 Jul 2023 23:39:58 +0200 Subject: [PATCH] Fixed slider double decimalPlaces (currently not supported) --- .../meteorclient/gui/widgets/input/WDoubleEdit.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/meteordevelopment/meteorclient/gui/widgets/input/WDoubleEdit.java b/src/main/java/meteordevelopment/meteorclient/gui/widgets/input/WDoubleEdit.java index 10581f0da9..885363ceb8 100644 --- a/src/main/java/meteordevelopment/meteorclient/gui/widgets/input/WDoubleEdit.java +++ b/src/main/java/meteordevelopment/meteorclient/gui/widgets/input/WDoubleEdit.java @@ -29,6 +29,7 @@ public WDoubleEdit(double value, double min, double max, double sliderMin, doubl this.value = value; this.min = min; this.max = max; + this.decimalPlaces = decimalPlaces; this.sliderMin = sliderMin; this.sliderMax = sliderMax;