From 6b08b5ffc7d991529ee07f9c5f4b2bc844e81c3d Mon Sep 17 00:00:00 2001 From: Sattva Date: Wed, 13 Sep 2023 16:39:20 +0300 Subject: [PATCH] fix minimap zone text hitbox size nil check for quest log --- Leatrix_Plus.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Leatrix_Plus.lua b/Leatrix_Plus.lua index 671cb68..4577ea1 100644 --- a/Leatrix_Plus.lua +++ b/Leatrix_Plus.lua @@ -5194,6 +5194,8 @@ MinimapZoneTextButton:SetPoint("TOP", Minimap, "TOP", 0, 0) MinimapZoneTextButton:SetFrameLevel(100) end + -- Reduce the click area by 30 pixels from left and right side + MinimapZoneTextButton:SetHitRectInsets(30, 30, 0, 0) end end @@ -8858,7 +8860,9 @@ end questNormalText:SetWidth(0) - questNormalText:SetText(" [" .. level .. "] " .. title) + if title then + questNormalText:SetText(" [" .. level .. "] " .. title) + end -- Debug -- questLogTitle.normalText:SetText(" [80] Learning to Leave and Return The")