WoWInterface SVN PhanxMod

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 36 to Rev 37
    Reverse comparison

Rev 36 → Rev 37

Core.lua
21,7 → 21,8
------------------------------------------------------------------------
 
do
local f = CreateFrame("Frame")
local f = CreateFrame("Frame", "PhanxModFrame")
f.addon = PhanxMod -- DEBUG
 
PhanxMod.UNREGISTER = "UNREGISTER"
 
126,11 → 127,11
local fn = f:GetName()
local db = PhanxModDB[fn]
if db and db.x and db.y then
print("MakeMovable:", fn)
--print("MakeMovable:", fn)
f:ClearAllPoints()
f:SetPoint("CENTER", UIParent, "BOTTOMLEFT", floor(db.x * UIParent:GetWidth() + 0.5), floor(db.y * UIParent:GetHeight() + 0.5))
else
print("MakeMovable:", fn, "(NEW)")
--print("MakeMovable:", fn, "(NEW)")
SavePosition(f)
end
if UIPARENT_MANAGED_FRAME_POSITIONS[fn] then