WoWInterface SVN oUF_Experience

Compare Revisions

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

Rev 24 → Rev 23

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