Fixes (6)

This commit is contained in:
Tercio Jose
2022-09-01 20:05:31 -03:00
parent e6511163b7
commit 295287cd0b
3 changed files with 23 additions and 7 deletions
@@ -212,9 +212,14 @@ local function CreatePluginFrames()
SOF:SetMovable (true)
SOF:SetResizable (true)
SOF:SetClampedToScreen (true)
SOF:SetMinResize (150, 10)
SOF:SetMaxResize (800, 1024)
if (not DetailsFramework.IsDragonflight()) then
SOF:SetMinResize (150, 10)
SOF:SetMaxResize (800, 1024)
else
--SOF:SetResizeBounds(150, 10, 800, 1024)
end
function StreamOverlay:SaveWindowSizeAnLocation()
--> save size first
StreamOverlay.db.main_frame_size [1] = SOF:GetWidth()