aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/dev/isxander/yacl
diff options
context:
space:
mode:
authorisXander <xander@isxander.dev>2023-05-29 07:40:55 +0100
committerisXander <xander@isxander.dev>2023-05-29 07:40:55 +0100
commitb4344763d905030dbcb840eefc361bbdb3729d99 (patch)
tree36f8da7f6e3c776f5433513ab986c94049fc9541 /common/src/main/java/dev/isxander/yacl
parentef1ec56de07a247ae83731031d408dbbf69fe84c (diff)
downloadYetAnotherConfigLib-b4344763d905030dbcb840eefc361bbdb3729d99.tar.gz
YetAnotherConfigLib-b4344763d905030dbcb840eefc361bbdb3729d99.tar.bz2
YetAnotherConfigLib-b4344763d905030dbcb840eefc361bbdb3729d99.zip
Add missing `DoubleSliderControllerBuilder.create`
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl')
-rw-r--r--common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java b/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java
index 2f08cfd..995b7c9 100644
--- a/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java
+++ b/common/src/main/java/dev/isxander/yacl/api/controller/DoubleSliderControllerBuilder.java
@@ -1,4 +1,10 @@
package dev.isxander.yacl.api.controller;
+import dev.isxander.yacl.api.Option;
+import dev.isxander.yacl.impl.controller.DoubleSliderControllerBuilderImpl;
+
public interface DoubleSliderControllerBuilder extends SliderControllerBuilder<Double, DoubleSliderControllerBuilder> {
+ static DoubleSliderControllerBuilder create(Option<Double> option) {
+ return new DoubleSliderControllerBuilderImpl(option);
+ }
}