Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ElvUI Project
ElvUI
Commits
c061c466
Commit
c061c466
authored
Feb 22, 2019
by
Elv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merchant frame next prev button changes
parent
305d1967
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ElvUI/Modules/skins/blizzard/merchant.lua
ElvUI/Modules/skins/blizzard/merchant.lua
+2
-2
ElvUI/Modules/skins/skins.lua
ElvUI/Modules/skins/skins.lua
+5
-1
No files found.
ElvUI/Modules/skins/blizzard/merchant.lua
View file @
c061c466
...
...
@@ -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
)
ElvUI/Modules/skins/skins.lua
View file @
c061c466
...
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment