@nrbx/topbar-components 1.0.4 → 1.0.5
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.
- package/out/components/provider.luau +11 -1
- package/package.json +1 -1
|
@@ -27,7 +27,17 @@ local function sortByDock(children)
|
|
|
27
27
|
_dockValue = _dockValue.dock
|
|
28
28
|
end
|
|
29
29
|
local dockValue = _dockValue
|
|
30
|
-
|
|
30
|
+
local _exp = `sortByDock child: hasProps={props ~= nil}`
|
|
31
|
+
local _result = props
|
|
32
|
+
if _result ~= nil then
|
|
33
|
+
_result = _result.text
|
|
34
|
+
end
|
|
35
|
+
local _exp_1 = `text={_result}`
|
|
36
|
+
local _result_1 = props
|
|
37
|
+
if _result_1 ~= nil then
|
|
38
|
+
_result_1 = _result_1.static
|
|
39
|
+
end
|
|
40
|
+
debugLog(_exp, _exp_1, `static={_result_1}`, `dock="{dockValue}"`, `→ {if dockValue == "Center" then "Center" elseif dockValue == "Right" then "Right" else "Left"}`)
|
|
31
41
|
if dockValue == "Center" then
|
|
32
42
|
center[ci + 1] = child
|
|
33
43
|
ci += 1
|