Quantcast

Revert back to using text instead of texture. This fixes #323

Darthpred [09-06-16 - 13:20]
Revert back to using text instead of texture. This fixes #323
Filename
ElvUI_SLE/media/textures/NewQuestMinimize.blp
ElvUI_SLE/skins/blizzard/objectiveTracker.lua
diff --git a/ElvUI_SLE/media/textures/NewQuestMinimize.blp b/ElvUI_SLE/media/textures/NewQuestMinimize.blp
deleted file mode 100644
index 6add25d..0000000
Binary files a/ElvUI_SLE/media/textures/NewQuestMinimize.blp and /dev/null differ
diff --git a/ElvUI_SLE/skins/blizzard/objectiveTracker.lua b/ElvUI_SLE/skins/blizzard/objectiveTracker.lua
index 3ff4901..359cb8c 100644
--- a/ElvUI_SLE/skins/blizzard/objectiveTracker.lua
+++ b/ElvUI_SLE/skins/blizzard/objectiveTracker.lua
@@ -233,14 +233,6 @@ local function ObjectiveReskin()
 		end)
 		-- proving grounds
 		hooksecurefunc("Scenario_ProvingGrounds_ShowBlock", SkinProvingGroundButtons)
-		local function MinOnClick(self)
-			local textObject = self.text
-			textObject:SetText("")
-		end
-		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:SetSize(14,14)
-		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:SetNormalTexture([[Interface\AddOns\ElvUI_SLE\media\textures\NewQuestMinimize]])
-		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:SetPushedTexture([[Interface\AddOns\ElvUI_SLE\media\textures\NewQuestMinimize]])
-		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:HookScript('OnClick', MinOnClick)

 		--Doing Underlines
 		local flat = [[Interface\AddOns\ElvUI\media\textures\Minimalist]]