Sure
thanks phanx
Line 73 to 88
Lua Code:
--[[-- From a list of frames/regions add the ones that are anchored once only to one of the frames in the frameSet to the frameSet. -- ]]--
function FluidFrames.GetAnchoredTo(frameSet, first, ...)
if first and not frameSet[first] and first:GetNumPoints() == 1 then
-- TODO: check if it's anchored to a child of the frame
local relativeFrame = select(2, first:GetPoint(1))
if frameSet[relativeFrame] then
frameSet[first] = true
if select("#", ...) > 0 then
FluidFrames.GetAnchoredTo(frameSet, ...)
end
end
end
if select("#", ...) > 0 then
FluidFrames.GetAnchoredTo(frameSet, ...)
end
end
Or on Git:
https://github.com/Imithat/FluidFram...meReparent.lua