Mercurial > wow > reaction
comparison ReAction.lua @ 101:3699d7dad312
added stateful anchoring
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Sat, 25 Oct 2008 18:49:18 +0000 |
parents | 168cae4aa8bd |
children | 410d036c43b2 |
comparison
equal
deleted
inserted
replaced
100:9715174ff220 | 101:3699d7dad312 |
---|---|
150 for name, config in pairs(self.db.profile.bars) do | 150 for name, config in pairs(self.db.profile.bars) do |
151 if config then | 151 if config then |
152 self:CreateBar(name, config) | 152 self:CreateBar(name, config) |
153 end | 153 end |
154 end | 154 end |
155 -- re-anchor in case anchor order does not match init order | 155 -- re-anchor and refresh in case anchor order does not match init order |
156 for name, bar in pairs(bars) do | 156 for name, bar in pairs(bars) do |
157 bar:ApplyAnchor() | 157 bar:ApplyAnchor() |
158 callbacks:Fire("OnRefreshBar", bar, name) | |
158 end | 159 end |
159 inited = true | 160 inited = true |
160 end | 161 end |
161 end | 162 end |
162 | 163 |