mirror of
https://github.com/Lacustat/Freewood-OctoWoW-Loot.git
synced 2026-10-30 17:40:51 +00:00
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016onJCSHLwhs9udhC9ZLzk9
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
f0681caf0e
commit
2c063f03e8
+11
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user