From 879107f87d3e859102dc027c22702c34e8c7f78a Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 6 Apr 2025 15:00:38 +0200 Subject: [PATCH] eqcompare: enable wrap text flag for each line --- modules/eqcompare.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/eqcompare.lua b/modules/eqcompare.lua index c2be6162..ce08eac4 100644 --- a/modules/eqcompare.lua +++ b/modules/eqcompare.lua @@ -17,16 +17,16 @@ pfUI:RegisterModule("eqcompare", "vanilla", function () if current and current:IsShown() then local text = current:GetText() - local r, g, b, a = current:GetTextColor() + local r, g, b = current:GetTextColor() if text and text ~= "" then if tooltip:NumLines() < i+1 then -- add new line if required - tooltip:AddLine(text, r, g, b, a) + tooltip:AddLine(text, r, g, b, true) else -- update existing lines below:SetText(text) - below:SetTextColor(r, g, b, a) + below:SetTextColor(r, g, b) below:Show() -- hide processed line