diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 3158c637..58a7d221 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 343 +local dversion = 344 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary (major, minor) diff --git a/Libs/DF/pictureedit.lua b/Libs/DF/pictureedit.lua index 45596bc7..19b8456e 100644 --- a/Libs/DF/pictureedit.lua +++ b/Libs/DF/pictureedit.lua @@ -16,7 +16,12 @@ local CreateImageEditorFrame = function() window:SetClampedToScreen (true) tinsert (UISpecialFrames, "DetailsFrameworkImageEdit") window:SetFrameStrata ("TOOLTIP") - window:SetMaxResize (500, 500) + + if (not DetailsFramework.IsDragonflight()) then + window:SetMaxResize(500, 500) + else + window:SetResizeBounds(100, 100, 500, 500) + end _G.DetailsFrameworkImageEditTable = window diff --git a/boot.lua b/boot.lua index 426d2d42..72f093f8 100644 --- a/boot.lua +++ b/boot.lua @@ -18,7 +18,7 @@ _detalhes.BFACORE = 131 --core version on BFA launch _detalhes.SHADOWLANDSCORE = 143 --core version on Shadowlands launch - _detalhes.dragonflight_beta_version = 17 + _detalhes.dragonflight_beta_version = 18 Details = _detalhes diff --git a/frames/window_main.lua b/frames/window_main.lua index 1318d738..9ffe6919 100644 --- a/frames/window_main.lua +++ b/frames/window_main.lua @@ -7949,8 +7949,10 @@ function Details:CheckForTextTimeCounter(combatStart) --called from combat start if (Details.instance_title_text_timer[instance:GetId()] and instance.baseframe and instance:IsEnabled() and instance.menu_attribute_string) then --check if the instance is initialized Details.Schedules.Cancel(Details.instance_title_text_timer[instance:GetId()]) local currentText = instance:GetTitleBarText() - currentText = currentText:gsub("%[.*%] ", "") - instance:SetTitleBarText(currentText) + if (currentText) then + currentText = currentText:gsub("%[.*%] ", "") + instance:SetTitleBarText(currentText) + end end end end