fix: temp disable red overlay on unusable item

This commit is contained in:
Salikh Gurgenidze
2025-11-22 02:29:13 +04:00
parent e83fb53dae
commit 0354c9a1fc
3 changed files with 1 additions and 180 deletions
+1 -6
View File
@@ -164,9 +164,6 @@ local function GetClassColor(classToken)
return 1.0, 1.0, 1.0
end
-- Add armor usability info (red type indicator when current character can't equip)
-- Removed: Usability info line in tooltip per user request
function Tooltip:AddInventoryInfo(tooltip, link)
-- Check if database is properly initialized and has the expected structure
if not Guda_DB or type(Guda_DB) ~= "table" then
@@ -220,9 +217,7 @@ function Tooltip:AddInventoryInfo(tooltip, link)
local totalCount = totalBags + totalBank + totalEquipped
-- Usability indicator removed per user request
if hasAnyItems then
if hasAnyItems then
-- Top padding above the Inventory block (~10-12px visually)
tooltip:AddLine(" ")