fix minimap zone text hitbox size

nil check for quest log
This commit is contained in:
Sattva
2023-09-13 16:39:20 +03:00
parent 57182ba440
commit 6b08b5ffc7
+5 -1
View File
@@ -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")