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
Huxflux
Shadow and Light
Commits
91362a09
Verified
Commit
91362a09
authored
Sep 07, 2019
by
Repooc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #306
Needs some testing but due to Blizzard getting DDOS'd, it was hard to really test
parent
fd013866
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
ElvUI_SLE/modules/chat/chat.lua
ElvUI_SLE/modules/chat/chat.lua
+11
-8
No files found.
ElvUI_SLE/modules/chat/chat.lua
View file @
91362a09
...
...
@@ -232,16 +232,19 @@ local function ChatPanels()
end
local
function
SetDataPanelStyle
()
local
transparent
=
E
.
db
.
datatexts
.
panelTransparency
and
"Transparent"
or
nil
local
template
=
E
.
db
.
datatexts
.
panelBackdrop
and
transparent
or
"NoBackdrop"
local
miniStyle
=
E
.
db
.
datatexts
.
panelTransparency
and
"Transparent"
or
nil
local
panelStyle
=
(
not
E
.
db
.
datatexts
.
panelBackdrop
)
and
"NoBackdrop"
or
miniStyle
_G
.
LeftChatDataPanel
:
SetTemplate
(
template
,
true
)
_G
.
LeftChatToggleButton
:
SetTemplate
(
template
,
true
)
_G
.
RightChatDataPanel
:
SetTemplate
(
template
,
true
)
_G
.
RightChatToggleButton
:
SetTemplate
(
template
,
true
)
local
miniGlossTex
=
(
not
miniStyle
and
true
)
or
nil
local
panelGlossTex
=
(
not
panelStyle
and
true
)
or
nil
_G
.
LeftMiniPanel
:
SetTemplate
(
transparent
,
true
)
_G
.
RightMiniPanel
:
SetTemplate
(
transparent
,
true
)
_G
.
LeftChatDataPanel
:
SetTemplate
(
panelStyle
,
panelGlossTex
)
_G
.
LeftChatToggleButton
:
SetTemplate
(
panelStyle
,
panelGlossTex
)
_G
.
RightChatDataPanel
:
SetTemplate
(
panelStyle
,
panelGlossTex
)
_G
.
RightChatToggleButton
:
SetTemplate
(
panelStyle
,
panelGlossTex
)
_G
.
LeftMiniPanel
:
SetTemplate
(
miniStyle
,
miniGlossTex
)
_G
.
RightMiniPanel
:
SetTemplate
(
miniStyle
,
miniGlossTex
)
end
local
function
CreateChatPanels
()
...
...
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