diff --git a/frames/anime.lua b/frames/anime.lua index 7898b89d..f3f3edc9 100644 --- a/frames/anime.lua +++ b/frames/anime.lua @@ -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 diff --git a/frames/window_eventtracker.lua b/frames/window_eventtracker.lua index 0c3098ae..38b650f7 100644 --- a/frames/window_eventtracker.lua +++ b/frames/window_eventtracker.lua @@ -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 \ No newline at end of file +end diff --git a/frames/window_main.lua b/frames/window_main.lua index 6f62f787..5441b004 100644 --- a/frames/window_main.lua +++ b/frames/window_main.lua @@ -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