View Single Post
10-04-14, 03:20 PM   #7
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 583
Originally Posted by ObbleYeah View Post
if you have anything to do with the watchframe on live then you'll get some errors at least, since it's been rewritten extensively.
I do a little bit with the watch frame I'll have to see how it's been changed I haven't logged in to live since June to be honest

All i did do was move it
Lua Code:
  1. WatchFrameCollapseExpandButton:ClearAllPoints()
  2. WatchFrameCollapseExpandButton.ClearAllPoints = function() end
  3. WatchFrameCollapseExpandButton:SetPoint("BOTTOMLEFT", Minimap, 0,0)
  4. WatchFrameCollapseExpandButton:SetAlpha(0)
  5. WatchFrameCollapseExpandButton:SetFrameStrata("MEDIUM")
  6. WatchFrameCollapseExpandButton:SetFrameLevel(2)
  7.  
  8. local function init()
  9.     local wf = _G['WatchFrame']
  10.     wf:ClearAllPoints()
  11.     wf.ClearAllPoints = function() end
  12.     wf:SetPoint(unpack(cfg.watch.position))
  13.     wf.SetPoint = function() end
  14.     wf:SetHeight(cfg.watch.height)  
  15.     wf:SetFrameStrata("LOW")
  16. end
  17. local a = CreateFrame("Frame")
  18. a:SetScript("OnEvent", function(self, event)
  19.     if(event=="PLAYER_LOGIN") then
  20.         init()
  21.     end
  22. end)
  23. a:RegisterEvent("PLAYER_LOGIN")
  24. local f = CreateFrame("Frame")

Originally Posted by Fizzlemizz View Post
And the updated version of AceDB-3.0.
I actually don't use any Ace libraries myself so thats shouldn't be an issue.
__________________
Tweets YouTube Website

Last edited by 10leej : 10-04-14 at 03:22 PM.
  Reply With Quote