|
1 | 1 | local W, F, E, L = unpack((select(2, ...)))
|
2 | 2 | local S = W.Modules.Skins
|
| 3 | +local ES = E.Skins |
3 | 4 |
|
4 | 5 | local _G = _G
|
5 | 6 |
|
@@ -31,14 +32,31 @@ function S:Blizzard_UIPanels_Game()
|
31 | 32 | end
|
32 | 33 |
|
33 | 34 | -- Reputation
|
34 |
| - self:CreateShadow(_G.ReputationDetailFrame) |
35 | 35 | self:CreateShadow(_G.ReputationFrame.ReputationDetailFrame)
|
36 | 36 | _G.ReputationFrame.ReputationDetailFrame:ClearAllPoints()
|
37 | 37 | _G.ReputationFrame.ReputationDetailFrame:Point("TOPLEFT", _G.ReputationFrame, "TOPRIGHT", 3, 0)
|
| 38 | +end |
| 39 | + |
| 40 | +function S:Blizzard_TokenUI() |
| 41 | + if not self:CheckDB("character") then |
| 42 | + return |
| 43 | + end |
| 44 | + |
| 45 | + local button = _G.TokenFrame.CurrencyTransferLogToggleButton |
| 46 | + if button then |
| 47 | + self:ESProxy("HandleButton", button) |
| 48 | + button:SetNormalTexture(E.Media.Textures.ArrowUp) |
| 49 | + button:GetNormalTexture():SetRotation(ES.ArrowRotation.right) |
| 50 | + button:GetNormalTexture():SetInside(button, 3, 3) |
| 51 | + |
| 52 | + button:SetPushedTexture(E.Media.Textures.ArrowUp) |
| 53 | + button:GetPushedTexture():SetRotation(ES.ArrowRotation.right) |
| 54 | + button:GetPushedTexture():SetInside(button, 3, 3) |
| 55 | + end |
38 | 56 |
|
39 |
| - -- Currency Transfer |
40 | 57 | self:CreateShadow(_G.CurrencyTransferLog)
|
41 | 58 | self:CreateShadow(_G.CurrencyTransferMenu)
|
42 | 59 | end
|
43 | 60 |
|
44 | 61 | S:AddCallbackForAddon("Blizzard_UIPanels_Game")
|
| 62 | +S:AddCallbackForAddon("Blizzard_TokenUI") |
0 commit comments