A round of general bug fixes

This commit is contained in:
Tercio Jose
2024-08-16 13:39:02 -03:00
committed by andrew6180
parent aff1685209
commit 4578ddaa41
4 changed files with 64 additions and 28 deletions
+21 -2
View File
@@ -3733,7 +3733,7 @@ do
end
end
if (pluginObject.OpenOptionsPanel) then
if (rawget(pluginObject, "OpenOptionsPanel")) then
DF:NewButton(bframe, nil, "$parentOptionsButton"..i, "OptionsButton"..i, 86, 18, pluginObject.OpenOptionsPanel, nil, nil, nil, Loc ["STRING_OPTIONS_PLUGINS_OPTIONS"], nil, options_button_template)
bframe ["OptionsButton"..i]:SetPoint("topleft", anchorFrame, "topleft", 510, y-0)
bframe ["OptionsButton"..i]:SetTextColor(button_color_rgb)
@@ -4314,10 +4314,29 @@ do
Details.tooltip.fontshadow = value
afterUpdate()
end,
name = Loc ["STRING_OPTIONS_TEXT_LOUTILINE"],
name = Loc ["STRING_OPTIONS_TEXT_OUTLINE"],
desc = Loc ["STRING_OPTIONS_TOOLTIPS_FONTSHADOW_DESC"],
},
{--shadow color
type = "color",
get = function()
local r, g, b, a = unpack(Details.tooltip.fontcontour)
return {r, g, b, a}
end,
set = function(self, r, g, b, a)
local color = Details.tooltip.fontcontour
color[1] = r
color[2] = g
color[3] = b
color[4] = a
afterUpdate()
end,
name = "Shadow Color",
desc = "Color of the text shadow",
hidden = true,
},
{--text size
type = "range",
get = function() return Details.tooltip.fontsize end,