- Ticket #162: 'no Monochrome font' available, added an experimental slash command: /run _detalhes:UseOutline ("MONOCHROME").
- Ticket #158: 'no elapsed time shown on report to chat', added the elapsed time when reporting a segment. - Ticket #164: 'error when browsing segments', an attempt to fix the problem has been made.
This commit is contained in:
@@ -745,10 +745,32 @@ end
|
||||
outline = "THICKOUTLINE"
|
||||
end
|
||||
end
|
||||
|
||||
if (_detalhes.force_font_outline ~= "") then
|
||||
if (_detalhes.force_font_outline == "OUTLINE") then
|
||||
outline = "OUTLINE"
|
||||
elseif (_detalhes.force_font_outline == "THICKOUTLINE") then
|
||||
outline = "THICKOUTLINE"
|
||||
elseif (_detalhes.force_font_outline == "MONOCHROME") then
|
||||
outline = "MONOCHROME"
|
||||
end
|
||||
end
|
||||
|
||||
fontString:SetFont (fonte, size, outline)
|
||||
end
|
||||
|
||||
function _detalhes:UseOutline (outline)
|
||||
outline = outline or ""
|
||||
_detalhes.force_font_outline = outline
|
||||
for ID, instance in _detalhes:ListInstances() do
|
||||
if (instance:IsEnabled()) then
|
||||
instance:RefreshBars()
|
||||
instance:InstanceReset()
|
||||
instance:ReajustaGump()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> internal functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user