diff --git a/.gitignore b/.gitignore index 747b656..573005b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ types lints tests Synthetic.rbxl -.env \ No newline at end of file +.env +synthetic.rbxl.lock diff --git a/src/Component/Slider/ColdFusion.luau b/src/Component/Slider/ColdFusion.luau index 8f793b5..4aa6f18 100644 --- a/src/Component/Slider/ColdFusion.luau +++ b/src/Component/Slider/ColdFusion.luau @@ -549,7 +549,7 @@ function Interface.new( function(initial: number, input: number?, min: number, max: number, inc: number?): number local rawVal = math.clamp(input or initial, min, max) if inc then - return math.round(rawVal / inc) * inc + return min + math.round(rawVal - min / inc) * inc else return rawVal end diff --git a/synthetic.rbxl.lock b/synthetic.rbxl.lock deleted file mode 100644 index 9008167..0000000 --- a/synthetic.rbxl.lock +++ /dev/null @@ -1,5 +0,0 @@ -117448 -RobloxStudioBeta -DESKTOP-UIAPQFM -faf3918c-cd67-4e9b-95e8-76107b83bc31 -