Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hekili
ElvUI
Commits
29a973da
Commit
29a973da
authored
May 30, 2019
by
Simpy
🐹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix skin issue in lfd queue frame reward
parent
45ffd3b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
ElvUI/Modules/Skins/Blizzard/LFG.lua
ElvUI/Modules/Skins/Blizzard/LFG.lua
+17
-11
No files found.
ElvUI/Modules/Skins/Blizzard/LFG.lua
View file @
29a973da
...
...
@@ -64,6 +64,12 @@ local function SkinItemButton(parentFrame, _, index)
item
.
Icon
:
SetParent
(
item
.
backdrop
)
item
.
Icon
:
SetInside
()
local
r
,
g
,
b
,
a
=
item
.
IconBorder
:
GetVertexColor
()
if
r
then
item
.
IconBorder
:
SetTexture
()
item
.
backdrop
:
SetBackdropBorderColor
(
r
,
g
,
b
,
a
)
end
hooksecurefunc
(
item
.
IconBorder
,
"SetVertexColor"
,
function
(
self
,
r
,
g
,
b
)
self
:
GetParent
().
backdrop
:
SetBackdropBorderColor
(
r
,
g
,
b
)
self
:
SetTexture
()
...
...
@@ -108,6 +114,7 @@ end
local
function
LoadSkin
()
if
E
.
private
.
skins
.
blizzard
.
enable
~=
true
or
E
.
private
.
skins
.
blizzard
.
lfg
~=
true
then
return
end
local
PVEFrame
=
_G
.
PVEFrame
S
:
HandlePortraitFrame
(
PVEFrame
,
true
)
...
...
@@ -186,7 +193,7 @@ local function LoadSkin()
_G
.
LFGDungeonReadyDialog
.
bottomArt
:
SetAlpha
(
0
)
S
:
HandleCloseButton
(
_G
.
LFGDungeonReadyStatusCloseButton
)
local
r
oleButtons
=
{
local
R
oleButtons
1
=
{
_G
.
LFDQueueFrameRoleButtonHealer
,
_G
.
LFDQueueFrameRoleButtonDPS
,
_G
.
LFDQueueFrameRoleButtonLeader
,
...
...
@@ -203,7 +210,7 @@ local function LoadSkin()
_G
.
LFGListApplicationDialog
.
DamagerButton
,
}
for
_
,
roleButton
in
pairs
(
r
oleButtons
)
do
for
_
,
roleButton
in
pairs
(
R
oleButtons
1
)
do
S
:
HandleCheckBox
(
roleButton
.
checkButton
or
roleButton
.
CheckButton
,
true
)
roleButton
:
DisableDrawLayer
(
"ARTWORK"
)
roleButton
:
DisableDrawLayer
(
"OVERLAY"
)
...
...
@@ -408,21 +415,20 @@ local function LoadSkin()
S
:
HandleButton
(
_G
.
LFRQueueFrameFindGroupButton
)
S
:
HandleButton
(
_G
.
LFRQueueFrameAcceptCommentButton
)
local
RoleButtons2
=
{
_G
.
LFRQueueFrameRoleButtonHealer
,
_G
.
LFRQueueFrameRoleButtonDPS
,
_G
.
LFRQueueFrameRoleButtonTank
,
}
S
:
HandleScrollBar
(
_G
.
LFRQueueFrameCommentScrollFrameScrollBar
)
S
:
HandleScrollBar
(
_G
.
LFDQueueFrameSpecificListScrollFrameScrollBar
)
_G
.
LFDQueueFrameSpecificListScrollFrame
:
StripTextures
()
_G
.
RaidBrowserFrame
:
HookScript
(
'OnShow'
,
function
()
if
not
_G
.
LFRQueueFrameSpecificListScrollFrameScrollBar
.
skinned
then
S
:
HandleScrollBar
(
_G
.
LFRQueueFrameSpecificListScrollFrameScrollBar
)
local
RoleButtons
=
{
_G
.
LFRQueueFrameRoleButtonHealer
,
_G
.
LFRQueueFrameRoleButtonDPS
,
_G
.
LFRQueueFrameRoleButtonTank
,
}
_G
.
LFRBrowseFrame
:
StripTextures
()
for
_
,
roleButton
in
pairs
(
RoleButtons
)
do
for
_
,
roleButton
in
pairs
(
RoleButtons
2
)
do
roleButton
:
SetNormalTexture
(
""
)
S
:
HandleCheckBox
(
roleButton
.
checkButton
,
nil
,
true
)
roleButton
:
GetChildren
():
SetFrameLevel
(
roleButton
:
GetChildren
():
GetFrameLevel
()
+
1
)
...
...
@@ -449,7 +455,7 @@ local function LoadSkin()
if
texPath
~=
nil
then
self
:
SetTexture
();
end
end
)
end
)
end
for
i
=
1
,
7
do
...
...
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