Format the text in the breakdown player list using the same font, size and outline of the damage window

This commit is contained in:
Tercio Jose
2022-10-09 17:12:13 -03:00
parent 61644c755a
commit 9974a87119
92 changed files with 5980 additions and 5978 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ local HelpMetaFunctions = {}
local get_members_function_index = {}
HelpMetaFunctions.__index = function (_table, _member_requested)
HelpMetaFunctions.__index = function(_table, _member_requested)
local func = get_members_function_index [_member_requested]
if (func) then
@@ -31,7 +31,7 @@ local HelpMetaFunctions = {}
local set_members_function_index = {}
HelpMetaFunctions.__newindex = function (_table, _key, _value)
HelpMetaFunctions.__newindex = function(_table, _key, _value)
local func = set_members_function_index [_key]
if (func) then
return func (_table, _value)
@@ -83,7 +83,7 @@ function DF:NewHelp (parent, width, height, x, y, buttonWidth, buttonHeight, nam
local idx = getmetatable (helpButton).__index
for funcName, funcAddress in pairs (idx) do
if (not HelpMetaFunctions [funcName]) then
HelpMetaFunctions [funcName] = function (object, ...)
HelpMetaFunctions [funcName] = function(object, ...)
local x = loadstring ( "return _G."..object.button:GetName()..":"..funcName.."(...)")
return x (...)
end