mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
getn(arg) -> arg.n
This commit is contained in:
@@ -20,7 +20,7 @@ local function fixlevels(parent, ...)
|
||||
local child
|
||||
local level = parent:GetFrameLevel() + 1
|
||||
|
||||
for i = 1, getn(arg) do
|
||||
for i = 1, arg.n do
|
||||
child = arg[i]
|
||||
child:SetFrameLevel(level)
|
||||
fixlevels(child)
|
||||
@@ -31,7 +31,7 @@ local function fixstrata(strata, parent, ...)
|
||||
local child
|
||||
parent:SetFrameStrata(strata)
|
||||
|
||||
for i = 1, getn(arg) do
|
||||
for i = 1, arg.n do
|
||||
child = arg[i]
|
||||
fixstrata(strata, child)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user