Skip to content

Commit

Permalink
fix(theme): fix PGF button name again
Browse files Browse the repository at this point in the history
  • Loading branch information
ffainy committed Mar 13, 2023
1 parent f6263b5 commit 125d58f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/modules/theme/addons/pgf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,14 @@ function THEME:ReskinPGF()
end
end)

_G.UsePFGButton:ClearAllPoints()
_G.UsePFGButton:SetPoint('RIGHT', _G.LFGListFrame.SearchPanel.RefreshButton, 'LEFT', -40, 0)
_G.UsePFGButton:SetSize(20, 20)

local button = _G.UsePFGButton or _G.UsePGFButton
if button then
F.ReskinCheckbox(button, true)

button:ClearAllPoints()
button:SetPoint('RIGHT', _G.LFGListFrame.SearchPanel.RefreshButton, 'LEFT', -40, 0)
button:SetSize(20, 20)

button.text:SetWidth(35)
button.text:SetFontObject(_G.Game12Font)
end
Expand Down

0 comments on commit 125d58f

Please sign in to comment.