Backdrop fixes and TOC bump for 9.1.5

This commit is contained in:
SabinDeus 2021-11-15 22:09:17 -05:00
parent 8efe5dcbf3
commit a78b31dba9
3 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -18,7 +18,7 @@
</Layer>
</Layers>
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/>
<KeyValue key="backdropInfo" value="BACKDROP_TUTORIAL_16_16" type="global"/>
</KeyValues>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
@ -408,7 +408,7 @@
</Frame>
</Frames>
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/>
<KeyValue key="backdropInfo" value="BACKDROP_TUTORIAL_16_16" type="global"/>
</KeyValues>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
@ -423,6 +423,15 @@
</Backdrop>
<Scripts>
<OnLoad>
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);