From a78b31dba98700f95f1ef9ed81f04d1890245e37 Mon Sep 17 00:00:00 2001 From: SabinDeus Date: Mon, 15 Nov 2021 22:09:17 -0500 Subject: [PATCH] Backdrop fixes and TOC bump for 9.1.5 --- TurnIn.lua | 3 --- TurnIn.toc | 4 ++-- TurnIn.xml | 13 +++++++++++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/TurnIn.lua b/TurnIn.lua index daea1bb..11a2554 100644 --- a/TurnIn.lua +++ b/TurnIn.lua @@ -536,7 +536,6 @@ function TI_HandleGossipWindow(gorq) TI_ResetPointers(); return; elseif(current.type == "activequest" and #ActiveQuests > 0 and TI_activenumber <= #ActiveQuests) then - DevTools_Dump(ActiveQuests); while TI_activenumber <= #ActiveQuests do TI_activenumber = TI_activenumber + 1; if ActiveQuests[TI_activenumber-1].isComplete then @@ -641,7 +640,6 @@ function TI_TabulateGossipQuestUIInfo(gquis) local x = {}; for i,gqui in ipairs(gquis) do - DevTools_Dump(gqui) local temp = {}; temp.name = gqui.title; @@ -694,4 +692,3 @@ function toggle(arg) return true; end end - diff --git a/TurnIn.toc b/TurnIn.toc index 2c10afb..ecbc603 100644 --- a/TurnIn.toc +++ b/TurnIn.toc @@ -1,5 +1,5 @@ -## Interface: 90002 -## X-Compatible-With: 90002 +## Interface: 90105 +## X-Compatible-With: 90105 ## Title: Turn In ## Notes: Automates the selection of quest and gossip options. ## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex diff --git a/TurnIn.xml b/TurnIn.xml index b779dee..eaed253 100644 --- a/TurnIn.xml +++ b/TurnIn.xml @@ -18,7 +18,7 @@ - + @@ -408,7 +408,7 @@ - + @@ -423,6 +423,15 @@ + self.backdropInfo = { + bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + tile = true, + tileEdge = true, + tileSize = 16, + edgeSize = 16, + insets = { left = 5, right = 5, top = 5, bottom = 5 }, + }; self:ApplyBackdrop(); self:SetBackdropBorderColor(0.6, 0.6, 0.6); self:SetBackdropColor(0.2, 0.2, 0.2);