Skip to content

Commit cb677aa

Browse files
committed
this one is not retail anymore, can drop this
1 parent b60c4b0 commit cb677aa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ElvUI/Core/General/API.lua

+2-4
Original file line numberDiff line numberDiff line change
@@ -755,10 +755,6 @@ do
755755
E.GameMenuButtonsData = {} --Table for keeping game menu buttons frome ElvUI itself and plugins
756756

757757
function E:GameMenuFrame_PositionButtons()
758-
if E.Retail then
759-
GameMenuFrame.Header.Text:SetTextColor(unpack(E.media.rgbvaluecolor))
760-
end
761-
762758
GameMenuFrame:Height(GameMenuFrame:GetHeight() + GameMenuButtonLogout:GetHeight() - 4)
763759

764760
local button = GameMenuFrame.ElvUI
@@ -768,6 +764,7 @@ do
768764
if relTo ~= button then
769765
button:ClearAllPoints()
770766
button:Point('TOPLEFT', relTo, 'BOTTOMLEFT', 0, -1)
767+
771768
GameMenuButtonLogout:ClearAllPoints()
772769
GameMenuButtonLogout:Point('TOPLEFT', button, 'BOTTOMLEFT', 0, offY)
773770
end
@@ -809,6 +806,7 @@ do
809806
local width, height = GameMenuButtonLogout:GetSize()
810807
button:SetSize(width, height)
811808
button:Point('TOPLEFT', GameMenuButtonAddons, 'BOTTOMLEFT', 0, -1)
809+
812810
hooksecurefunc('GameMenuFrame_UpdateVisibleButtons', E.GameMenuFrame_PositionButtons)
813811
end
814812
end

0 commit comments

Comments
 (0)