fix: quest item icons
This commit is contained in:
@@ -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
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user