From c3c600774b934a70c91741e8e9277708b43f366e Mon Sep 17 00:00:00 2001 From: xmyno Date: Wed, 28 Oct 2020 16:50:46 +0100 Subject: [PATCH] Fix info panel positioning --- WorldQuests.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WorldQuests.lua b/WorldQuests.lua index c7255f4..f3e7877 100644 --- a/WorldQuests.lua +++ b/WorldQuests.lua @@ -1433,6 +1433,7 @@ end function BWQ:UpdateBlock() offsetTop = -35 -- initial padding from top + BWQ:UpdateInfoPanel() if not BWQ:WorldQuestsUnlocked() then BWQ:SetHeight(offsetTop * -1 + 20 + 30) -- padding + errorFS height BWQ:SetWidth(math.max(BWQ.factionDisplay:GetWidth(), BWQ.errorFS:GetWidth()) + 20) @@ -1447,7 +1448,7 @@ function BWQ:UpdateBlock() return end - BWQ:UpdateInfoPanel() + local titleMaxWidth, bountyMaxWidth, factionMaxWidth, rewardMaxWidth, timeLeftMaxWidth = 0, 0, 0, 0, 0 for mapId in next, MAP_ZONES[expansion] do