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
Sean Anderson / Shrom
ElvUI
Commits
fcb4c603
Commit
fcb4c603
authored
Oct 13, 2020
by
Simpy
🐹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont auto add : to labels for these tho
parent
f0d7c057
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ElvUI/Modules/DataTexts/Friends.lua
ElvUI/Modules/DataTexts/Friends.lua
+2
-2
ElvUI/Modules/DataTexts/Guild.lua
ElvUI/Modules/DataTexts/Guild.lua
+2
-2
No files found.
ElvUI/Modules/DataTexts/Friends.lua
View file @
fcb4c603
...
...
@@ -569,14 +569,14 @@ local function OnEvent(self, event, message)
if
E
.
global
.
datatexts
.
settings
.
Friends
.
NoLabel
then
self
.
text
:
SetFormattedText
(
displayString
,
onlineFriends
+
numBNetOnline
)
else
self
.
text
:
SetFormattedText
(
displayString
,
E
.
global
.
datatexts
.
settings
.
Friends
.
Label
~=
''
and
E
.
global
.
datatexts
.
settings
.
Friends
.
Label
or
_G
.
FRIENDS
,
onlineFriends
+
numBNetOnline
)
self
.
text
:
SetFormattedText
(
displayString
,
E
.
global
.
datatexts
.
settings
.
Friends
.
Label
~=
''
and
E
.
global
.
datatexts
.
settings
.
Friends
.
Label
or
_G
.
FRIENDS
..
': '
,
onlineFriends
+
numBNetOnline
)
end
lastPanel
=
self
end
local
function
ValueColorUpdate
(
hex
)
displayString
=
strjoin
(
''
,
E
.
global
.
datatexts
.
settings
.
Friends
.
NoLabel
and
''
or
'%s
:
'
,
hex
,
'%d|r'
)
displayString
=
strjoin
(
''
,
E
.
global
.
datatexts
.
settings
.
Friends
.
NoLabel
and
''
or
'%s'
,
hex
,
'%d|r'
)
if
lastPanel
then
OnEvent
(
lastPanel
,
'ELVUI_COLOR_UPDATE'
)
...
...
ElvUI/Modules/DataTexts/Guild.lua
View file @
fcb4c603
...
...
@@ -298,7 +298,7 @@ local function OnEvent(self, event, ...)
if
E
.
global
.
datatexts
.
settings
.
Guild
.
NoLabel
then
self
.
text
:
SetFormattedText
(
displayString
,
#
guildTable
)
else
self
.
text
:
SetFormattedText
(
displayString
,
E
.
global
.
datatexts
.
settings
.
Guild
.
Label
~=
''
and
E
.
global
.
datatexts
.
settings
.
Guild
.
Label
or
GUILD
,
#
guildTable
)
self
.
text
:
SetFormattedText
(
displayString
,
E
.
global
.
datatexts
.
settings
.
Guild
.
Label
~=
''
and
E
.
global
.
datatexts
.
settings
.
Guild
.
Label
or
GUILD
..
': '
,
#
guildTable
)
end
else
self
.
text
:
SetText
(
noGuildString
)
...
...
@@ -306,7 +306,7 @@ local function OnEvent(self, event, ...)
end
local
function
ValueColorUpdate
(
hex
)
displayString
=
strjoin
(
''
,
E
.
global
.
datatexts
.
settings
.
Guild
.
NoLabel
and
''
or
'%s
:
'
,
hex
,
'%d|r'
)
displayString
=
strjoin
(
''
,
E
.
global
.
datatexts
.
settings
.
Guild
.
NoLabel
and
''
or
'%s'
,
hex
,
'%d|r'
)
noGuildString
=
hex
..
L
[
"No Guild"
]
if
lastPanel
then
...
...
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