feat: add learner tooltip controls
This commit is contained in:
@@ -329,6 +329,9 @@ function _QuestieTooltips:AddUnitDataToTooltip()
|
||||
_AddQuestStarterDropsToTooltip(npcNum)
|
||||
end
|
||||
|
||||
if QuestieTooltips.ResizeTooltip then
|
||||
QuestieTooltips:ResizeTooltip(GameTooltip)
|
||||
end
|
||||
QuestieTooltips.lastGametooltipCount = _QuestieTooltips:CountTooltip()
|
||||
end
|
||||
lastGuid = guid;
|
||||
@@ -371,6 +374,9 @@ function _QuestieTooltips:AddItemDataToTooltip()
|
||||
for _, v in next, tooltipData do
|
||||
self:AddLine(v)
|
||||
end
|
||||
if QuestieTooltips.ResizeTooltip then
|
||||
QuestieTooltips:ResizeTooltip(self)
|
||||
end
|
||||
end
|
||||
QuestieTooltips.lastGametooltipCount = _QuestieTooltips:CountTooltip()
|
||||
end
|
||||
@@ -426,6 +432,9 @@ function _QuestieTooltips:AddObjectDataToTooltip(name)
|
||||
end
|
||||
end
|
||||
end
|
||||
if QuestieTooltips.ResizeTooltip then
|
||||
QuestieTooltips:ResizeTooltip(GameTooltip)
|
||||
end
|
||||
GameTooltip:Show()
|
||||
end
|
||||
QuestieTooltips.lastGametooltipType = "object";
|
||||
|
||||
Reference in New Issue
Block a user