diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 75b91aef..a82df200 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 416 +local dversion = 417 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary(major, minor) diff --git a/Libs/DF/languages.lua b/Libs/DF/languages.lua index bc11ea4f..d0d2377d 100644 --- a/Libs/DF/languages.lua +++ b/Libs/DF/languages.lua @@ -1572,7 +1572,7 @@ end ---return a font (path for a file) which works for the languageId passed, if the languageId is not registered, it'll return a compatible font registered by another addon or the default font ---@param languageId string ----@param addonId string +---@param addonId string|nil ---@return string function DF.Language.GetFontForLanguageID(languageId, addonId) if (addonId) then diff --git a/Libs/DF/panel.lua b/Libs/DF/panel.lua index 21be940e..08637eef 100644 --- a/Libs/DF/panel.lua +++ b/Libs/DF/panel.lua @@ -3558,8 +3558,7 @@ function detailsFramework:CreateTabContainer (parent, title, frameName, frameLis end --languageInfo - local addonId = languageInfo.language_addonId - local languageTable = DetailsFramework.Language.GetLanguageTable(addonId) + local addonId = languageInfo and languageInfo.language_addonId or "none" for i, frameInfo in ipairs(frameList) do local f = CreateFrame("frame", "$parent" .. frameInfo.name, mainFrame, "BackdropTemplate") diff --git a/functions/profiles.lua b/functions/profiles.lua index 7bda246d..51fbebbf 100644 --- a/functions/profiles.lua +++ b/functions/profiles.lua @@ -1055,6 +1055,8 @@ local default_profile = { line_height = 16, line_texture = "Details Serenity", line_color = {.1, .1, .1, 0.3}, + show_crowdcontrol_pvp = true, + show_crowdcontrol_pvm = false, }, --current damage