mirror of
https://github.com/parnic/LibDogTag-3.0.git
synced 2025-06-16 20:20:14 -05:00
Added a Monochrome outline tag
FontString outline is now only changed if something changed (performance increase)
This commit is contained in:
@ -300,8 +300,10 @@ local function updateFontString(fs)
|
||||
if opacity then
|
||||
fs:SetAlpha(opacity)
|
||||
end
|
||||
local a, b = fs:GetFont()
|
||||
fs:SetFont(a, b, outline or '')
|
||||
local a, b, c = fs:GetFont()
|
||||
if c ~= (outline or '') then
|
||||
fs:SetFont(a, b, outline or '')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user