From 0f97e8b0bd93af33fb2d32a7291dc4e584a974cb Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Thu, 2 Jul 2026 01:49:10 -0500 Subject: [PATCH] eqcompare: skip paperdoll owners in showalways mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comparing an equipped slot's tooltip against itself is pointless — every delta is zero. Skip that case when `showalways=1`. Shift-hover still forces the comparison unconditionally. --- modules/eqcompare.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/eqcompare.lua b/modules/eqcompare.lua index f5370c82..5dfcacb4 100644 --- a/modules/eqcompare.lua +++ b/modules/eqcompare.lua @@ -203,7 +203,12 @@ pfUI:RegisterModule("eqcompare", function () pfUI.eqcompare.tooltip = GameTooltip local function AnnotateTooltip(tooltip) - if not IsShiftKeyDown() and C.tooltip.compare.showalways ~= "1" then return end + if not IsShiftKeyDown() then + if C.tooltip.compare.showalways ~= "1" then return end + local owner = tooltip:GetOwner() + local parent = owner and owner:GetParent() + if parent == PaperDollFrame then return end + end local _, newLink, itemID = tooltip:GetItem() if not itemID then return end