WoWInterface SVN PhanxMod

Compare Revisions

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

Rev 37 → Rev 36

Core.lua
21,8 → 21,7
------------------------------------------------------------------------
 
do
local f = CreateFrame("Frame", "PhanxModFrame")
f.addon = PhanxMod -- DEBUG
local f = CreateFrame("Frame")
 
PhanxMod.UNREGISTER = "UNREGISTER"
 
127,11 → 126,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