- Fixed deprecated functions no longer used in 5.0.4
Lanerra [09-20-12 - 05:36]
- Fixed deprecated functions no longer used in 5.0.4
- Removed UI option dimming for Unit Frames until I have time to work out the problem
- Version 1.3
- Other than this, it should function per normal. Let me know of any hiccups
diff --git a/Tags.lua b/Tags.lua
index e7ef573..1b29516 100644
--- a/Tags.lua
+++ b/Tags.lua
@@ -133,7 +133,7 @@ oUF.UnitlessTagEvents['PLAYER_REGEN_ENABLED'] = true
oUF.TagEvents['LanLeader'] = 'PARTY_LEADER_CHANGED PARTY_MEMBERS_CHANGED'
oUF.Tags['LanLeader'] = function(unit)
- if UnitIsPartyLeader(unit) then
+ if UnitIsGroupLeader(unit) then
return [[|TInterface\GroupFrame\UI-Group-LeaderIcon:0|t]]
elseif UnitInRaid(unit) and UnitIsRaidOfficer(unit) then
return [[|TInterface\GroupFrame\UI-Group-AssistantIcon:0|t]]
diff --git a/oUF_Lanerra.lua b/oUF_Lanerra.lua
index 50aa57c..edb114b 100644
--- a/oUF_Lanerra.lua
+++ b/oUF_Lanerra.lua
@@ -9,24 +9,24 @@
-- Disable Blizzard options that are rendered useless by having a unit frame addon
-for _, button in pairs({
- 'UnitFramePanelPartyBackground',
- 'UnitFramePanelPartyPets',
- 'UnitFramePanelFullSizeFocusFrame',
+--~ for _, button in pairs({
+--~ 'UnitFramePanelPartyBackground',
+--~ 'UnitFramePanelPartyPets',
+--~ 'UnitFramePanelFullSizeFocusFrame',
- 'CombatPanelTargetOfTarget',
- 'CombatPanelTOTDropDown',
- 'CombatPanelTOTDropDownButton',
- 'CombatPanelEnemyCastBarsOnPortrait',
+--~ 'CombatPanelTargetOfTarget',
+--~ 'CombatPanelTOTDropDown',
+--~ 'CombatPanelTOTDropDownButton',
+--~ 'CombatPanelEnemyCastBarsOnPortrait',
- 'DisplayPanelShowAggroPercentage',
+--~ 'DisplayPanelShowAggroPercentage',
- 'FrameCategoriesButton9',
-}) do
- _G['InterfaceOptions'..button]:SetAlpha(0.35)
- _G['InterfaceOptions'..button]:Disable()
- _G['InterfaceOptions'..button]:EnableMouse(false)
-end
+--~ 'FrameCategoriesButton9',
+--~ }) do
+--~ _G['InterfaceOptions'..button]:SetAlpha(0.35)
+--~ _G['InterfaceOptions'..button]:Disable()
+--~ _G['InterfaceOptions'..button]:EnableMouse(false)
+--~ end
do
for k, v in pairs(UnitPopupMenus) do
@@ -1581,7 +1581,7 @@ partyToggle:SetScript('OnEvent', function(self)
If you want to switch to raid view later (meaning, if the members no longer fit into the party frame), you may change the following line accordingly.--]]
if (Settings.Units.Raid.Healer) and (Settings.Units.Party.Healer) then
- if(GetNumRaidMembers() > 0) then
+ if(GetNumGroupMembers() > 0) then
_G['oUF_Lanerra_Group']:Hide()
_G['oUF_Lanerra_Raid']:Show()
else
@@ -1589,7 +1589,7 @@ partyToggle:SetScript('OnEvent', function(self)
_G['oUF_Lanerra_Raid']:Hide()
end
else
- if(GetNumRaidMembers() > 0) then
+ if(GetNumGroupMembers() > 0) then
_G['oUF_Lanerra_Group']:Hide()
_G['oUF_Lanerra_Raid1']:Show()
_G['oUF_Lanerra_Raid2']:Show()
diff --git a/oUF_Lanerra.toc b/oUF_Lanerra.toc
index 57a89e8..13be748 100644
--- a/oUF_Lanerra.toc
+++ b/oUF_Lanerra.toc
@@ -1,5 +1,5 @@
## Interface: 40300
-## Version: 1.2.31
+## Version: 1.3
## Title: oUF_Lanerra
## Notes: oUF layout by Lanerra