Framework update

This commit is contained in:
Tercio Jose
2023-05-06 15:49:05 -03:00
parent cbbfe8b7af
commit c6527f56a0
5 changed files with 31 additions and 6 deletions
+3 -2
View File
@@ -322,11 +322,12 @@ detailsFramework.FrameContainerMixin = {
frameContainer:CheckResizeLockedState()
frameContainer:CheckMovableLockedState()
if (DF.IsClassicWow()) then
if (frameContainer.SetMinResize) then --old versions of the game uses this method
frameContainer:SetMinResize(50, 50)
frameContainer:SetMaxResize(1000,1000)
else
frameContainer:SetResizeBounds(50, 50, 1000, 1000)
frameContainer:SetResizeBounds(50, 50, 1000, 1000) --new versions has this method
end
end,