From a8e6179d239b1f7609a7d14c45ecfb914f78bd11 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 28 Apr 2025 19:17:50 +0200 Subject: [PATCH] thirdparty: adjust ShaguDPS bars to window size --- modules/thirdparty.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/thirdparty.lua b/modules/thirdparty.lua index ded47f23..f480df7f 100644 --- a/modules/thirdparty.lua +++ b/modules/thirdparty.lua @@ -240,12 +240,14 @@ pfUI:RegisterModule("thirdparty", "vanilla:tbc", function() ShaguDPSWindow:ClearAllPoints() ShaguDPSWindow:SetAllPoints(pfUI.chat.right) ShaguDPSWindow:SetWidth(pfUI.chat.right:GetWidth()) + if ShaguDPSWindow.Resize then ShaguDPSWindow:Resize() end end, function() -- dual ShaguDPSWindow:ClearAllPoints() ShaguDPSWindow:SetPoint("TOPLEFT", pfUI.chat.right, "TOP", 0, 0) ShaguDPSWindow:SetPoint("BOTTOMRIGHT", pfUI.chat.right, "BOTTOMRIGHT", 0, 0) ShaguDPSWindow:SetWidth(pfUI.chat.right:GetWidth() / 2) + if ShaguDPSWindow.Resize then ShaguDPSWindow:Resize() end end, function() -- show ShaguDPS.config.visible = 1