@rbxts/uiblox 0.1.17 → 0.1.18
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.
|
@@ -4,10 +4,10 @@ local _theme = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "the
|
|
|
4
4
|
local createStyles = _theme.createStyles
|
|
5
5
|
local makeStyles = _theme.makeStyles
|
|
6
6
|
local usePreloaderStyles = makeStyles(function(theme, props)
|
|
7
|
-
local
|
|
7
|
+
local getLogoSrc = function(props)
|
|
8
8
|
local _binding = props
|
|
9
|
-
local
|
|
10
|
-
return
|
|
9
|
+
local logoSrc = _binding.logoSrc
|
|
10
|
+
return logoSrc
|
|
11
11
|
end
|
|
12
12
|
return createStyles({
|
|
13
13
|
container = {
|
|
@@ -22,7 +22,7 @@ local usePreloaderStyles = makeStyles(function(theme, props)
|
|
|
22
22
|
AnchorPoint = Vector2.new(0.5, 0.5),
|
|
23
23
|
BackgroundTransparency = 1,
|
|
24
24
|
BorderSizePixel = 0,
|
|
25
|
-
Image =
|
|
25
|
+
Image = getLogoSrc(props),
|
|
26
26
|
ScaleType = Enum.ScaleType.Fit,
|
|
27
27
|
ZIndex = 110000,
|
|
28
28
|
},
|