diff --git a/Settings.xml b/Settings.xml index 17aa41f..80fe249 100644 --- a/Settings.xml +++ b/Settings.xml @@ -200,7 +200,7 @@ - + diff --git a/Templates.xml b/Templates.xml index d8aa9b1..f654371 100644 --- a/Templates.xml +++ b/Templates.xml @@ -215,19 +215,21 @@ - + - - - - - - - - - - - + + + self:SetBackdrop({ + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + tile = true, + tileEdge = true, + edgeSize = 12, + tileSize = 16, + insets = { left = 0, right = 0, top = 5, bottom = 5 }, + }); + self:ApplyBackdrop(); + + diff --git a/WorldQuestTab.lua b/WorldQuestTab.lua index e3ab172..79296de 100644 --- a/WorldQuestTab.lua +++ b/WorldQuestTab.lua @@ -2074,12 +2074,13 @@ function WQT_CoreMixin:OnLoad() WQT_WorldQuestFrame:TriggerCallback("QuestsLoaded") end, addonName) - self.dataProvider:RegisterCallback("BufferUpdated", function(progress) - if (progress == 0) then + self.dataProvider:RegisterCallback("BufferUpdated", function(progress) + if (progress == 0 or progress == 1) then self.ProgressBar:Hide(); + else + CooldownFrame_SetDisplayAsPercentage(self.ProgressBar, progress); + self.ProgressBar.Pointer:SetRotation(-progress*6.2831); end - CooldownFrame_SetDisplayAsPercentage(self.ProgressBar, progress); - self.ProgressBar.Pointer:SetRotation(-progress*6.2831); end, addonName) -- Events @@ -2298,7 +2299,8 @@ function WQT_CoreMixin:OnLoad() end); local LFGParent = LFGListSearchPanelScrollFrameScrollChild; - LFGParent.StartGroupButton:HookScript("OnClick", function() + if LFGParent ~= nil then + LFGParent.StartGroupButton:HookScript("OnClick", function() -- If we are creating a group because we couldn't find one, show the info on the create frame if InCombatLockdown() then return; end local searchString = LFGListFrame.SearchPanel.SearchBox:GetText(); @@ -2317,6 +2319,7 @@ function WQT_CoreMixin:OnLoad() WQT_GroupSearch:Show(); end end) + end -- Hook hiding of official pins if we replace them with our own local mapWQProvider = WQT_Utils:GetMapWQProvider(); diff --git a/WorldQuestTab.xml b/WorldQuestTab.xml index 26098b0..8df2cb7 100644 --- a/WorldQuestTab.xml +++ b/WorldQuestTab.xml @@ -91,11 +91,12 @@ - - - - - + + + + + +