We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d17356d commit 89e5004Copy full SHA for 89e5004
src/main/java/wtf/nebula/impl/gui/ui/value/NumberComponent.java
@@ -93,5 +93,9 @@ else if (value.getValue() instanceof Double) {
93
if (value.getValue().floatValue() > value.getMax().floatValue()) {
94
value.setValue(value.getMax());
95
}
96
+
97
+ if (value.getValue().floatValue() < value.getMin().floatValue()) {
98
+ value.setValue(value.getMin());
99
+ }
100
101
0 commit comments