WoWInterface SVN oUF_Experience

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 23 to Rev 24
    Reverse comparison

Rev 23 → Rev 24

oUF_Experience/oUF_Experience.lua
27,9 → 27,9
local bar = self.Experience
 
if(self.unit == 'pet' and UnitLevel('pet') == UnitLevel('player')) then
bar:SetAlpha(0)
bar:Hide()
elseif(self.unit == 'player' and UnitLevel('player') == MAX_PLAYER_LEVEL) then
bar:SetAlpha(0)
bar:Hide()
else
local min, max
if(self.unit == 'pet') then
42,6 → 42,7
bar:SetValue(min)
bar:EnableMouse()
bar:SetStatusBarColor(unpack(bar.Colors or self.colors.health))
bar:Show()
 
if(not bar.MouseOver) then
bar:SetAlpha(1)