From 2c063f03e8edd7df97cbd5e223e3f021a1da7aa6 Mon Sep 17 00:00:00 2001 From: Lacustat Date: Wed, 28 Oct 2026 12:58:23 +0100 Subject: [PATCH] 0.1.149: Lernplan-Symbole/Tooltips, Item-Tooltips, Nachnahme-Anhang (1.12-Form), Brett eigenes Fenster, ClassicAPI-Pruefung, Start-Itemkatalog Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_016onJCSHLwhs9udhC9ZLzk9 --- Freewood-OctoWoW-Loot.toc | 2 +- LootUI.lua | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Freewood-OctoWoW-Loot.toc b/Freewood-OctoWoW-Loot.toc index ebbc2dc..cef248f 100644 --- a/Freewood-OctoWoW-Loot.toc +++ b/Freewood-OctoWoW-Loot.toc @@ -3,7 +3,7 @@ ## Notes: Blacklist for loot: picks up listed items and deletes them with your next click in the world. ## Notes-deDE: Blacklist für Beute: nimmt gelistete Items mit und löscht sie mit deinem nächsten Klick in der Spielwelt. ## Author: Lacustat -## Version: 0.1.148 +## Version: 0.1.149 ## Dependencies: Freewood-OctoWoW-Core Locales.lua diff --git a/LootUI.lua b/LootUI.lua index 5369b75..13475eb 100644 --- a/LootUI.lua +++ b/LootUI.lua @@ -276,6 +276,17 @@ local function Build(content) row.listed = UI.CreateLabel(row, FW.L.LOOT_RECENT_LISTED, { size = 10, color = "textDim", justify = "RIGHT" }) row.listed:SetPoint("RIGHT", row, "RIGHT", -12, 0) row.name:SetPoint("RIGHT", row, "RIGHT", -96, 0) + row:EnableMouse(true) + row:SetScript("OnEnter", function(self) + if self.itemID and GameTooltip then + GameTooltip:SetOwner(self, "ANCHOR_RIGHT") + pcall(GameTooltip.SetItemByID, GameTooltip, self.itemID) + GameTooltip:Show() + end + end) + row:SetScript("OnLeave", function() + if GameTooltip then GameTooltip:Hide() end + end) recentRows[i] = row end row:ClearAllPoints()