From ac9c2121fbc1e2966a391730b9d8741770f12b4e Mon Sep 17 00:00:00 2001 From: Simpy Date: Mon, 8 Apr 2024 22:00:39 -0400 Subject: [PATCH] test 3 --- ElvUI/Cata/Modules/Skins/Collectables.lua | 8 ++++---- ElvUI/Mainline/Modules/Skins/Collectables.lua | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ElvUI/Cata/Modules/Skins/Collectables.lua b/ElvUI/Cata/Modules/Skins/Collectables.lua index d8aa139201..7efe57709f 100644 --- a/ElvUI/Cata/Modules/Skins/Collectables.lua +++ b/ElvUI/Cata/Modules/Skins/Collectables.lua @@ -125,8 +125,8 @@ local function JournalScrollButtons(frame) icon:SetTexCoord(unpack(E.TexCoords)) icon:CreateBackdrop('Transparent', nil, nil, true) - local savedPetTypeIcon = bu.petTypeIcon and bu.petTypeIcon:GetTexture() - local savedFactionIcon = bu.factionIcon and bu.factionIcon:GetTexture() + local savedPetTypeTexture = bu.petTypeIcon and bu.petTypeIcon:GetTexture() + local savedFactionAtlas = bu.factionIcon and bu.factionIcon:GetAtlas() bu:StripTextures() bu:CreateBackdrop('Transparent', nil, nil, true) @@ -156,7 +156,7 @@ local function JournalScrollButtons(frame) if parent == _G.PetJournal then bu.petList = true - bu.petTypeIcon:SetTexture(savedPetTypeIcon) + bu.petTypeIcon:SetTexture(savedPetTypeTexture) bu.petTypeIcon:Point('TOPRIGHT', -1, -1) bu.petTypeIcon:Point('BOTTOMRIGHT', -1, 1) @@ -167,7 +167,7 @@ local function JournalScrollButtons(frame) S:HandleIconBorder(bu.iconBorder, nil, petNameColor) elseif parent == _G.MountJournal then bu.mountList = true - bu.factionIcon:SetTexture(savedFactionIcon) + bu.factionIcon:SetAtlas(savedFactionAtlas) bu.factionIcon:SetDrawLayer('OVERLAY') bu.factionIcon:Point('TOPRIGHT', -1, -1) bu.factionIcon:Point('BOTTOMRIGHT', -1, 1) diff --git a/ElvUI/Mainline/Modules/Skins/Collectables.lua b/ElvUI/Mainline/Modules/Skins/Collectables.lua index fcf3a1f8e6..4bef1d061d 100644 --- a/ElvUI/Mainline/Modules/Skins/Collectables.lua +++ b/ElvUI/Mainline/Modules/Skins/Collectables.lua @@ -127,8 +127,8 @@ local function JournalScrollButtons(frame) icon:SetTexCoord(unpack(E.TexCoords)) icon:CreateBackdrop('Transparent', nil, nil, true) - local savedPetTypeIcon = bu.petTypeIcon and bu.petTypeIcon:GetTexture() - local savedFactionIcon = bu.factionIcon and bu.factionIcon:GetTexture() + local savedPetTypeTexture = bu.petTypeIcon and bu.petTypeIcon:GetTexture() + local savedFactionAtlas = bu.factionIcon and bu.factionIcon:GetAtlas() bu:StripTextures() bu:CreateBackdrop('Transparent', nil, nil, true) @@ -158,7 +158,7 @@ local function JournalScrollButtons(frame) if parent == _G.PetJournal then bu.petList = true - bu.petTypeIcon:SetTexture(savedPetTypeIcon) + bu.petTypeIcon:SetTexture(savedPetTypeTexture) bu.petTypeIcon:Point('TOPRIGHT', -1, -1) bu.petTypeIcon:Point('BOTTOMRIGHT', -1, 1) @@ -169,7 +169,7 @@ local function JournalScrollButtons(frame) S:HandleIconBorder(bu.iconBorder, nil, petNameColor) elseif parent == _G.MountJournal then bu.mountList = true - bu.factionIcon:SetTexture(savedFactionIcon) + bu.factionIcon:SetAtlas(savedFactionAtlas) bu.factionIcon:SetDrawLayer('OVERLAY') bu.factionIcon:Point('TOPRIGHT', -1, -1) bu.factionIcon:Point('BOTTOMRIGHT', -1, 1)