Add calls to Wrath With Retail for frame setup
This commit is contained in:
+1
-1
@@ -234,7 +234,7 @@ function _detalhes.PlayBestDamageOnGuild (damage)
|
||||
Portrait.scale:SetStartDelay (0)
|
||||
Portrait.scale:SetEndDelay (0)
|
||||
|
||||
if (DetailsFramework.IsDragonflight()) then
|
||||
if (DetailsFramework.IsDragonflight() or DetailsFramework.IsWotLKWowWithRetailAPI()) then
|
||||
Portrait.scale:SetScaleFrom (0, 0)
|
||||
Portrait.scale:SetScaleTo (1, 1)
|
||||
else
|
||||
|
||||
@@ -239,7 +239,7 @@ function Details:CreateEventTrackerFrame(parent, name)
|
||||
local f = CreateFrame("frame", name, parent or UIParent,"BackdropTemplate")
|
||||
f:SetPoint("center", UIParent, "center")
|
||||
|
||||
if (not DetailsFramework.IsDragonflight()) then
|
||||
if (not DetailsFramework.IsDragonflight() and not DetailsFramework.IsWotLKWowWithRetailAPI()) then
|
||||
f:SetMinResize (150, 40)
|
||||
f:SetMaxResize (800, 1024)
|
||||
else
|
||||
@@ -788,4 +788,4 @@ function Details:CreateEventTrackerFrame(parent, name)
|
||||
_detalhes.Broadcaster_EventTrackerLoaded = true
|
||||
_detalhes.Broadcaster_EventTrackerFrame = f
|
||||
f:Hide()
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3603,7 +3603,7 @@ function gump:CriaJanelaPrincipal (ID, instancia, criando)
|
||||
baseframe:EnableMouseWheel(false)
|
||||
baseframe:EnableMouse(true)
|
||||
|
||||
if (not DetailsFramework.IsDragonflight()) then
|
||||
if (not DetailsFramework.IsDragonflight() and not DetailsFramework.IsWotLKWowWithRetailAPI()) then
|
||||
baseframe:SetMinResize (150, 7)
|
||||
baseframe:SetMaxResize (Details.max_window_size.width, Details.max_window_size.height)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user