Skip to content

Commit

Permalink
Merge pull request #23 from ImAvafe/dev
Browse files Browse the repository at this point in the history
Fix Slider.Value prop.. again 🤦‍♀️
  • Loading branch information
ImAvafe authored Dec 10, 2024
2 parents ce6c599 + 2561353 commit 6028c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Slider.luau
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ return function(Scope: Fusion.Scope<any>, 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))
Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -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"]

Expand Down

0 comments on commit 6028c3d

Please sign in to comment.