Skip to content

Commit

Permalink
Remove/fix channel list code
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralofhope committed Oct 5, 2020
1 parent 83481c8 commit db2ae0e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tekticles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,13 @@ f:SetScript("OnEvent", function()

-- I have no idea why the channel list is getting fucked up
-- but re-setting the font obj seems to fix it
for i=1,MAX_CHANNEL_BUTTONS do
local f = _G["ChannelButton"..i.."Text"]
f:SetFontObject(GameFontNormalSmallLeft)
-- function f:SetFont(...) error("Attempt to set font on ChannelButton"..i) end
end
-- See issue #18
-- https://github.com/TekNoLogic/tekticles/issues/18
--for i=1,GetNumDisplayChannels() do
--local f = _G["ChannelButton"..i.."Text"]
--f:SetFontObject(GameFontNormalSmallLeft)
---- function f:SetFont(...) error("Attempt to set font on ChannelButton"..i) end
--end

for _,butt in pairs(PaperDollTitlesPane.buttons) do butt.text:SetFontObject(GameFontHighlightSmallLeft) end
end)
Expand Down

0 comments on commit db2ae0e

Please sign in to comment.