Quantcast

5.3.0

Steven Jackson [12-02-14 - 04:00]
5.3.0
Filename
Interface/AddOns/SVUI/packages/tools/components/garrison.lua
Interface/AddOns/SVUI/packages/tools/components/questwatch.lua
diff --git a/Interface/AddOns/SVUI/packages/tools/components/garrison.lua b/Interface/AddOns/SVUI/packages/tools/components/garrison.lua
index 539f00d..9b47aeb 100644
--- a/Interface/AddOns/SVUI/packages/tools/components/garrison.lua
+++ b/Interface/AddOns/SVUI/packages/tools/components/garrison.lua
@@ -252,6 +252,7 @@ local SetGarrisonTooltip = function(self)

 	GetActiveMissions()
 	GetBuildingData()
+	SVUI_Garrison:StopAlert();
 end

 local function LoadToolBarGarrison()
diff --git a/Interface/AddOns/SVUI/packages/tools/components/questwatch.lua b/Interface/AddOns/SVUI/packages/tools/components/questwatch.lua
index 7466228..4651bed 100644
--- a/Interface/AddOns/SVUI/packages/tools/components/questwatch.lua
+++ b/Interface/AddOns/SVUI/packages/tools/components/questwatch.lua
@@ -164,7 +164,12 @@ function MOD:LoadQuestWatch()
 		ObjectiveTrackerFrame:SetPoint("TOPRIGHT", listFrame, "TOPRIGHT", -31, 0)
 		ObjectiveTrackerFrame:SetFrameLevel(listFrame:GetFrameLevel() + 1)

-		ObjectiveTrackerFrame.SetPoint = function() return end;
+		hooksecurefunc(ObjectiveTrackerFrame, "SetPoint", function(self, a1, p, a2, x, y)
+			if(p ~= SVUI_QuestWatchFrameScrollFrame) then
+				self:SetPoint("TOPRIGHT", SVUI_QuestWatchFrameScrollFrame, "TOPRIGHT", -31, 0)
+			end
+		end)
+		--ObjectiveTrackerFrame.SetPoint = function() return end;

 		ObjectiveTrackerFrame.HeaderMenu.MinimizeButton:Hide()