fix: restore string texture paths in LibDBIcon-1.0 for older clients

This commit is contained in:
Xurkon
2026-03-18 22:22:36 -05:00
parent 9ad5272ed6
commit 8d8ac76e5a
+3 -3
View File
@@ -228,14 +228,14 @@ local function createButton(name, object, db)
button:SetSize(31, 31) button:SetSize(31, 31)
button:RegisterForClicks("anyUp") button:RegisterForClicks("anyUp")
button:RegisterForDrag("LeftButton") button:RegisterForDrag("LeftButton")
button:SetHighlightTexture(136477) --"Interface\\Minimap\\UI-Minimap-ZoomButton-Highlight" button:SetHighlightTexture("Interface\\Minimap\\UI-Minimap-ZoomButton-Highlight")
local overlay = button:CreateTexture(nil, "OVERLAY") local overlay = button:CreateTexture(nil, "OVERLAY")
overlay:SetSize(53, 53) overlay:SetSize(53, 53)
overlay:SetTexture(136430) --"Interface\\Minimap\\MiniMap-TrackingBorder" overlay:SetTexture("Interface\\Minimap\\MiniMap-TrackingBorder")
overlay:SetPoint("TOPLEFT") overlay:SetPoint("TOPLEFT")
local background = button:CreateTexture(nil, "BACKGROUND") local background = button:CreateTexture(nil, "BACKGROUND")
background:SetSize(20, 20) background:SetSize(20, 20)
background:SetTexture(136467) --"Interface\\Minimap\\UI-Minimap-Background" background:SetTexture("Interface\\Minimap\\UI-Minimap-Background")
background:SetPoint("TOPLEFT", 7, -5) background:SetPoint("TOPLEFT", 7, -5)
local icon = button:CreateTexture(nil, "ARTWORK") local icon = button:CreateTexture(nil, "ARTWORK")
icon:SetSize(17, 17) icon:SetSize(17, 17)