fix: quest item icons

This commit is contained in:
Salikh Gurgenidze
2025-11-23 13:52:28 +04:00
parent 978988e0bf
commit 2a6cf50511
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Title: Guda
## Notes: All-in-one bag and bank addon for Turtle WoW
## Author: Vati
## Version: 1.1.3
## Version: 1.1.4
## SavedVariables: Guda_DB
## SavedVariablesPerCharacter: Guda_CharDB
+9 -2
View File
@@ -225,8 +225,15 @@ local function Guda_ItemButton_UpdateQuestIcon(self, isQuest, isQuestStarter)
if isQuest then
-- Set appropriate texture based on quest type
if not isQuestStarter then
addon:Print("isQuestSTarter:" .. tostring(isQuestStarter))
if isQuestStarter then
-- Quest starter: exclamation mark
local texture = self.questIcon:GetRegions()
if texture and texture.SetTexture then
texture:SetTexture("Interface\\GossipFrame\\AvailableQuestIcon")
texture:SetTexCoord(0, 1, 0, 1)
end
else
-- Regular quest item: question mark
local texture = self.questIcon:GetRegions()
if texture and texture.SetTexture then
texture:SetTexture("Interface\\GossipFrame\\ActiveQuestIcon")