Verified Commit 16c1204d authored by Merathilis's avatar Merathilis
Browse files

Updated Torghast Level Picker Skin

parent 4dc85aa5
......@@ -3,6 +3,8 @@ local S = E:GetModule('Skins')
local _G = _G
local hooksecurefunc = hooksecurefunc
function S:Blizzard_TorghastLevelPicker()
if not (E.private.skins.blizzard.enable and E.private.skins.blizzard.torghastLevelPicker) then return end
......@@ -13,6 +15,17 @@ function S:Blizzard_TorghastLevelPicker()
S:HandleNextPrevButton(frame.Pager.PreviousPage)
S:HandleNextPrevButton(frame.Pager.NextPage)
S:HandleButton(frame.OpenPortalButton)
hooksecurefunc(frame, "ScrollAndSelectHighestAvailableLayer", function(self)
for layer in self.gossipOptionsPool:EnumerateActive() do
if not layer.IsSkinned then
layer.SelectedBorder:SetAtlas('charactercreate-ring-select')
layer.SelectedBorder:Size(120)
layer.SelectedBorder:Point('CENTER')
layer.IsSkinned = true
end
end
end)
end
S:AddCallbackForAddon('Blizzard_TorghastLevelPicker')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment