This commit is contained in:
Bunny67
2020-07-10 17:05:49 +03:00
parent 09bc3d6374
commit bbb4ac1c37
@@ -75,10 +75,7 @@ local UpdatedFrames = {}
local function ScanFrames(depth, frame, ...)
if not frame then return end
if depth < maxDepth
and frame.IsForbidden
and not frame:IsForbidden()
then
if depth < maxDepth then
local frameType = frame:GetObjectType()
if frameType == "Frame" or frameType == "Button" then
ScanFrames(depth + 1, frame:GetChildren())