From 25613538877c5361f17a19150a911ff672bd5e58 Mon Sep 17 00:00:00 2001 From: Avafe <65048459+ImAvafe@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:32:35 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20Slider.Value=20prop..=20again=20?= =?UTF-8?q?=F0=9F=A4=A6=E2=80=8D=E2=99=80=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Components/Slider.luau | 2 +- wally.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Slider.luau b/src/Components/Slider.luau index e1e4d72..569e4a3 100644 --- a/src/Components/Slider.luau +++ b/src/Components/Slider.luau @@ -49,7 +49,7 @@ return function(Scope: Fusion.Scope, Props: Props) local Theme = Themer.Theme:now() local Unit = Util.Fallback(Props.Unit, 1 / 100) - local Value = Scope:EnsureValue(RoundByUnit(Fusion.peek(Util.Fallback(Props.Value, 1)), Fusion.peek(Unit))) + local Value = Scope:EnsureValue(Util.Fallback(Props.Value, 1)) local Color = Util.Fallback(Props.Color, Theme.Colors.Primary.Main) local Disabled = Util.Fallback(Props.Disabled, false) local IsHovering = Scope:EnsureValue(Util.Fallback(Props.IsHovering, false)) diff --git a/wally.toml b/wally.toml index 81d4e9a..631db25 100644 --- a/wally.toml +++ b/wally.toml @@ -1,7 +1,7 @@ [package] name = "imavafe/onyx-ui" description = "Quick, quality UI for Fusion" -version = "0.5.2" +version = "0.5.3" license = "MIT" authors = ["Avafe"]