mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Trim whitespace off dogtags on upper/lower texts
This fixes an issue with strings getting clipped when newlines were inadvertently included. wowace ticket #311
This commit is contained in:
@ -626,7 +626,7 @@ do
|
||||
v = DogTag:CleanCode(v)
|
||||
end
|
||||
|
||||
self.moduleSettings.upperText = v
|
||||
self.moduleSettings.upperText = strtrim(v)
|
||||
self:RegisterFontStrings()
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -655,7 +655,7 @@ do
|
||||
v = DogTag:CleanCode(v)
|
||||
end
|
||||
|
||||
self.moduleSettings.lowerText = v
|
||||
self.moduleSettings.lowerText = strtrim(v)
|
||||
self:RegisterFontStrings()
|
||||
self:Redraw()
|
||||
end,
|
||||
|
Reference in New Issue
Block a user