Mercurial > wow > buffalo2
diff BuffFrame/BuffFrame.lua @ 49:16465f3fd919
- remove UpdateAnchorAnchors and use hardlink for the one frame that this applied to
author | Nenue |
---|---|
date | Fri, 29 Apr 2016 10:50:27 -0400 |
parents | 9837069e366a |
children | d7655c4e6e06 |
line wrap: on
line diff
--- a/BuffFrame/BuffFrame.lua Thu Apr 28 06:58:13 2016 -0400 +++ b/BuffFrame/BuffFrame.lua Fri Apr 29 10:50:27 2016 -0400 @@ -9,11 +9,11 @@ local B = select(2,...).frame local M = B:RegisterModule('BuffFrame') +M.PlayerBuffsActive = {} function M:OnInitialize() local displays = M.displays - local c= M.Conf + -- suffix tables - M.drawn = B.Abstract(displays, 'drawn', M.drawn ) -- Lesser extent of guide frames that have been positioned M.positioned = B.Abstract(displays, 'positioned', M.positioned) @@ -31,10 +31,10 @@ display.conf = setmetatable({}, { __index = function(_, k) --print('config check '.. name .. k) - return c[name .. k] or c['BuffButton' .. k] + return M.Conf[name .. k] or M.Conf['BuffButton' .. k] end, __newindex = function(_, k , v) - c[name..k] = v + M.Conf[name..k] = v end, }) end @@ -54,11 +54,10 @@ for name, auraType in pairs(displays) do M.UpdateBuffs(auraType.buffName, true) - print(name, auraType) + --print(name, auraType) _G[name..'Anchor']:EnableMouse(B.Conf.ConfigMode) end - M.UpdateAnchorAnchors() M.UpdateRaidBuffs() M.UpdateBuffsTodo() end \ No newline at end of file