@rbxts/uiblox 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,7 @@ local function Preloader(props)
78
78
  setCurrentAsset(contentNamesById[_assetId])
79
79
  setPercentage(function(prev)
80
80
  local newPercentage = math.clamp(prev + unit, 0, 100)
81
- if newPercentage == 100 then
81
+ if math.round(newPercentage) >= 100 then
82
82
  setLoaded(true)
83
83
  end
84
84
  return newPercentage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/uiblox",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "UI Library and theming for roblox-ts projects",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {