Merge pull request #511 from Flamanis/Port-to-Era

First pass on attempting to work on Classic_Era
This commit is contained in:
Tercio Jose
2023-05-06 15:09:41 -03:00
committed by GitHub
7 changed files with 265 additions and 12 deletions
+6 -1
View File
@@ -322,7 +322,12 @@ detailsFramework.FrameContainerMixin = {
frameContainer:CheckResizeLockedState()
frameContainer:CheckMovableLockedState()
frameContainer:SetResizeBounds(50, 50, 1000, 1000)
if (DF.IsClassicWow()) then
frameContainer:SetMinResize(50, 50)
frameContainer:SetMaxResize(1000,1000)
else
frameContainer:SetResizeBounds(50, 50, 1000, 1000)
end
end,
---run when the container has its size changed