debug: Added click debug logging to TrackerLinePool.OnClickQuest

This commit is contained in:
Xurkon
2026-03-20 21:41:16 -05:00
parent 2df8a7b96d
commit 6e6eb3226e
2 changed files with 27 additions and 1 deletions
+3 -1
View File
@@ -992,7 +992,7 @@ end
---@param button string
TrackerLinePool.OnClickQuest = function(self, button)
Questie:Debug(Questie.DEBUG_DEVELOP, "[TrackerLinePool:_OnClickQuest]")
Questie:Debug(Questie.DEBUG_DEVELOP, "[TrackerLinePool:_OnClickQuest] button:", button, "Shift:", IsShiftKeyDown(), "Quest:", self.Quest and self.Quest.name or "nil")
if (not self.Quest) then
return
end
@@ -1001,6 +1001,8 @@ TrackerLinePool.OnClickQuest = function(self, button)
LibDropDown:CloseDropDownMenus()
end
Questie:Debug(Questie.DEBUG_DEVELOP, "[TrackerLinePool:_OnClickQuest] bindUntrack:", Questie.db.profile.trackerbindUntrack, "IsBindTrue:", TrackerUtils:IsBindTrue(Questie.db.profile.trackerbindUntrack, button))
if TrackerUtils:IsBindTrue(Questie.db.profile.trackerbindSetTomTom, button) then
local spawn, zone, name = QuestieMap:GetNearestQuestSpawn(self.Quest)
if spawn then