fix(tooltip): never add learner spawn data to the main tooltip
The 'Use secondary learner tooltip' option's off-path appended learner spawn/kill lines directly to the main GameTooltip. The toggle now gates the data entirely: on = shown in the separate secondary frame, off = not shown anywhere. Learner spawn/kill data is never inline in the main NPC tooltip under any setting. Removed the now-unused _AddTooltipSeparator helper and updated the option description.
This commit is contained in:
@@ -550,7 +550,7 @@ function QuestieOptions.tabs.general:Initialize()
|
||||
type = "toggle",
|
||||
order = 8.6,
|
||||
name = function() return l10n('Use secondary learner tooltip'); end,
|
||||
desc = function() return l10n('Show learner-specific spawn details in a separate tooltip instead of adding them to the existing one.'); end,
|
||||
desc = function() return l10n('Show learner-specific spawn details in a separate tooltip attached to the unit tooltip. When disabled, learner spawn details are not shown (they are never added to the main tooltip).'); end,
|
||||
width = 1.5,
|
||||
disabled = function() return not (Questie.db.profile.enableTooltips and (Questie.db.profile.learnerTooltips ~= false)); end,
|
||||
get = function() return Questie.db.profile.learnerTooltipUseSecondary == true end,
|
||||
|
||||
Reference in New Issue
Block a user