WoWInterface SVN CompactBars

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 8 to Rev 9
    Reverse comparison

Rev 8 → Rev 9

CompactBars/core.lua
89,7 → 89,7
firstshortbuff = nil
else
for _, b in pairs(bars) do
if b.order and not bar.order and b.data.dguid == bar.data.dguid and b.data.typ == bar.data.typ then
if b.order and not bar.order and b.data.typ == bar.data.typ then
bar.pos = b.pos
bar.order = true
break
104,7 → 104,7
firstbossmod = nil
else
for _, b in pairs(bars) do
if b.order and not bar.order and b.data.dguid == bar.data.dguid and b.data.typ == bar.data.typ then
if b.order and not bar.order and b.data.typ == bar.data.typ then
bar.pos = b.pos
bar.order = true
break
119,7 → 119,7
firstcooldown = nil
else
for _, b in pairs(bars) do
if b.order and not bar.order and b.data.dguid == bar.data.dguid and b.data.typ == bar.data.typ then
if b.order and not bar.order and b.data.typ == bar.data.typ then
bar.pos = b.pos
bar.order = true
break
CompactBars/bossmods.lua
39,7 → 39,8
CompactBars.hooks[self]["CreateBar"](self, timer, id, icon, huge, small, color)
return
end
CompactBars.sb:CreateBar(id, timer, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end)
CompactBars.sb:CreateBar({id = id, typ = "Bossmods"}, timer, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end)
CompactBars:updateBarPos()
if not CompactBars.db.profile.hidebossmod then
CompactBars.hooks[self]["CreateBar"](self, timer, id, icon, huge, small, color)
end
51,7 → 52,7
if CompactBars.db.profile.ebossmods then
local bars = CompactBars.sb:GetBars()
for _, bar in pairs(bars) do
if bar.data and bar.data == id then
if bar.data and bar.data.id == id then
bar.start = nil
end
end
66,14 → 67,15
else
text = nil
end
CompactBars.sb:CreateBar(id, dur, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end)
CompactBars.sb:CreateBar({id = id, typ = "Bossmods"}, dur, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end)
CompactBars:updateBarPos()
end
end
local function bigwigs_stop(self, id)
if CompactBars.db.profile.ebossmods then
local bars = CompactBars.sb:GetBars()
for _, bar in pairs(bars) do
if bar.data and bar.data == id then
if bar.data and bar.data.id == id then
bar.start = nil
end
end