Skip to content

Commit

Permalink
move this
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Nov 19, 2024
1 parent 5c3bc6f commit 6ad79c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ElvUI/Core/Modules/UnitFrames/Elements/RoleIcons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ local UnitAffectingCombat = UnitAffectingCombat
local UnitGroupRolesAssigned = UnitGroupRolesAssigned

function UF:Construct_RoleIcon(frame)
if E.Classic then return end

local tex = frame.RaisedElementParent.TextureParent:CreateTexture(nil, 'ARTWORK')
tex:Size(17)
tex:Point('BOTTOM', frame.Health, 'BOTTOM', 0, 2)
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/UnitFrames/Groups/Party.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function UF:Construct_PartyFrames()
self.ResurrectIndicator = UF:Construct_ResurrectionIcon(self)
self.SummonIndicator = UF:Construct_SummonIcon(self)
self.CombatIndicator = UF:Construct_CombatIndicator(self)
self.GroupRoleIndicator = UF:Construct_RoleIcon(self)
self.RaidRoleFramesAnchor = UF:Construct_RaidRoleFrames(self)
self.MouseGlow = UF:Construct_MouseGlow(self)
self.PhaseIndicator = UF:Construct_PhaseIcon(self)
Expand All @@ -44,6 +43,7 @@ function UF:Construct_PartyFrames()

if not E.Classic then
self.PvPClassificationIndicator = UF:Construct_PvPClassificationIndicator(self) -- Cart / Flag / Orb / Assassin Bounty
self.GroupRoleIndicator = UF:Construct_RoleIcon(self)
self.AlternativePower = UF:Construct_AltPowerBar(self)
self.ClassBar = 'AlternativePower'
end
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Modules/UnitFrames/Groups/Raid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function UF:Construct_RaidFrames()
self.AuraWatch = UF:Construct_AuraWatch(self)
self.RaidDebuffs = UF:Construct_RaidDebuffs(self)
self.AuraHighlight = UF:Construct_AuraHighlight(self)
self.GroupRoleIndicator = UF:Construct_RoleIcon(self)
self.RaidRoleFramesAnchor = UF:Construct_RaidRoleFrames(self)
self.MouseGlow = UF:Construct_MouseGlow(self)
self.PhaseIndicator = UF:Construct_PhaseIcon(self)
Expand All @@ -38,6 +37,7 @@ function UF:Construct_RaidFrames()

if not E.Classic then
self.PvPClassificationIndicator = UF:Construct_PvPClassificationIndicator(self) -- Cart / Flag / Orb / Assassin Bounty
self.GroupRoleIndicator = UF:Construct_RoleIcon(self)
self.AlternativePower = UF:Construct_AltPowerBar(self)
self.ClassBar = 'AlternativePower'
end
Expand Down

0 comments on commit 6ad79c7

Please sign in to comment.