From 0b7429680e3f240e558963384865e304dc1bcdab Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Sat, 18 Jan 2025 11:52:57 -0300 Subject: [PATCH] Framework update for bug fixes --- libs/DF/ejournal.lua | 2 +- libs/DF/fw.lua | 2 +- libs/DF/panel.lua | 2 +- libs/DF/timeline.lua | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/DF/ejournal.lua b/libs/DF/ejournal.lua index 96fda67e..7df41430 100644 --- a/libs/DF/ejournal.lua +++ b/libs/DF/ejournal.lua @@ -262,7 +262,7 @@ function Ejc.CreateEncounterJournalDump() ---could also be tierAmount - 1 ---because the tier is "current season" ---@type number - local currentTierId = tierAmount --EJ_GetCurrentTier(), for some unknown reason, this function is returning 3 on retail + local currentTierId = tierAmount - 1 --EJ_GetCurrentTier(), for some unknown reason, this function is returning 3 on retail ---maximum amount of dungeons in the expansion ---@type number diff --git a/libs/DF/fw.lua b/libs/DF/fw.lua index fd02512f..c35f307a 100644 --- a/libs/DF/fw.lua +++ b/libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 586 +local dversion = 587 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary(major, minor) diff --git a/libs/DF/panel.lua b/libs/DF/panel.lua index 8d8d434f..2a968c2f 100644 --- a/libs/DF/panel.lua +++ b/libs/DF/panel.lua @@ -1505,7 +1505,7 @@ if ((ColorPickerFrame and ColorPickerFrame.SetupColorPickerAndShow) or toc >= 10 local color_pick_func_cancel = function() local r, g, b, a = ColorPickerFrame.previousValues.r, ColorPickerFrame.previousValues.g, ColorPickerFrame.previousValues.b, ColorPickerFrame.previousValues.a - ColorPickerFrame.Content.ColorPicker:SetColorRGB(r, g, b) --error here: attempt to index field 'Content' (a nil value) + ColorPickerFrame:SetColorRGB(r, g, b) ColorPickerFrame:dcallback (r, g, b, a, ColorPickerFrame.dframe) end diff --git a/libs/DF/timeline.lua b/libs/DF/timeline.lua index 0037d75e..0175bc4f 100644 --- a/libs/DF/timeline.lua +++ b/libs/DF/timeline.lua @@ -1013,6 +1013,7 @@ detailsFramework.TimeLineMixin = { RefreshTimeLine = function(self, bDelayButtonRefresh, bFromScale) --~refresh if (not self.data.lines) then + error("Timeline data for SetData() has no line data.") return end