Thread: FluidFrames bug
View Single Post
10-20-14, 01:39 PM   #3
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 27
Sure
thanks phanx

Line 73 to 88
Lua Code:
  1. --[[-- 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. -- ]]--
  2. function FluidFrames.GetAnchoredTo(frameSet, first, ...)
  3.     if first and not frameSet[first] and first:GetNumPoints() == 1 then
  4.         -- TODO: check if it's anchored to a child of the frame
  5.         local relativeFrame = select(2, first:GetPoint(1))
  6.         if frameSet[relativeFrame] then
  7.             frameSet[first] = true
  8.             if select("#", ...) > 0 then
  9.                 FluidFrames.GetAnchoredTo(frameSet, ...)
  10.             end
  11.         end
  12.     end
  13.     if select("#", ...) > 0 then
  14.         FluidFrames.GetAnchoredTo(frameSet, ...)
  15.     end
  16. end

Or on Git:
https://github.com/Imithat/FluidFram...meReparent.lua
  Reply With Quote