Commit c061c466 authored by Elv's avatar Elv

merchant frame next prev button changes

parent 305d1967
......@@ -108,8 +108,8 @@ local function LoadSkin()
_G.MerchantRepairAllIcon:SetTexCoord(0.34, 0.1, 0.34, 0.535, 0.535, 0.1, 0.535, 0.535)
_G.MerchantRepairAllIcon:SetInside()
S:HandleNextPrevButton(_G.MerchantNextPageButton)
S:HandleNextPrevButton(_G.MerchantPrevPageButton)
S:HandleNextPrevButton(_G.MerchantNextPageButton, nil, nil, true, true)
S:HandleNextPrevButton(_G.MerchantPrevPageButton, nil, nil, true, true)
end
S:AddCallback("Merchant", LoadSkin)
......@@ -996,7 +996,7 @@ function S:HandleIconSelectionFrame(frame, numIcons, buttonNameTemplate, frameNa
end
end
function S:HandleNextPrevButton(btn, arrowDir, color, noBackdrop)
function S:HandleNextPrevButton(btn, arrowDir, color, noBackdrop, stipTexts)
if btn.isSkinned then return end
if not arrowDir then
......@@ -1018,6 +1018,10 @@ function S:HandleNextPrevButton(btn, arrowDir, color, noBackdrop)
S:HandleButton(btn)
end
if stipTexts then
btn:StripTexts()
end
btn:SetNormalTexture("Interface\\AddOns\\ElvUI\\media\\textures\\ArrowUp")
btn:SetPushedTexture("Interface\\AddOns\\ElvUI\\media\\textures\\ArrowUp")
btn:SetDisabledTexture("Interface\\AddOns\\ElvUI\\media\\textures\\ArrowUp")
......
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