From 121fe95592f21632aa1c71864963bf179c142188 Mon Sep 17 00:00:00 2001 From: Mickael Cagnion Date: Fri, 31 Jul 2026 01:30:53 +0200 Subject: [PATCH] Clarify stat-difference shortcut context Keep the Items-tab tooltip generic while directing users from other tabs to the setting. Narrow UI wording change; user validated the rendered text. Peer review is optional under local policy. --- src/Classes/ItemsTab.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index 7171ea2db2..b6a1879876 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -4485,9 +4485,10 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode, maxWidth) end end -- Stat differences + local itemTabHint = self.build.viewMode == "ITEMS" and "" or " in the Items tab" if not self.showStatDifferences then tooltip:AddSeparator(14) - tooltip:AddLine(14, colorCodes.TIP.."Tip: Press Ctrl+D to enable the display of stat differences.") + tooltip:AddLine(14, colorCodes.TIP.."Tip: Press Ctrl+D"..itemTabHint.." to enable the display of stat differences.") return end local calcFunc, calcBase = self.build.calcsTab:GetMiscCalculator() @@ -4745,7 +4746,7 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode, maxWidth) end end - tooltip:AddLine(14, colorCodes.TIP .. "Tip: Press Ctrl+D to disable the display of stat differences.") + tooltip:AddLine(14, colorCodes.TIP .. "Tip: Press Ctrl+D"..itemTabHint.." to disable the display of stat differences.") local function getReplacedItemAndOutput(compareSlot) local selItem = self.items[compareSlot.selItemId]