More fixes for dragonflight
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 343
|
||||
local dversion = 344
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user