From c524a205aacb0b4d237e788e0d00adfff7cd0863 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 7 Nov 2024 18:55:28 +0100 Subject: [PATCH] panel: set panel width for undocked frames --- modules/panel.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/panel.lua b/modules/panel.lua index a3e759eb..edd1eef3 100644 --- a/modules/panel.lua +++ b/modules/panel.lua @@ -789,6 +789,7 @@ pfUI:RegisterModule("panel", "vanilla:tbc", function() pfUI.panel.minimap = CreateFrame("Button", "pfPanelMinimap", UIParent) if pfUI.minimap then + pfUI.panel.minimap:SetWidth(pfUI.minimap:GetWidth()) pfUI.panel.minimap:SetPoint("TOPLEFT", pfUI.minimap, "BOTTOMLEFT", 0 , -default_border*3) pfUI.panel.minimap:SetPoint("TOPRIGHT", pfUI.minimap, "BOTTOMRIGHT", 0 , default_border*3) else