Quantcast

missed a few things

Steven Jackson [10-12-14 - 01:01]
missed a few things
Filename
Interface/AddOns/SVUI_StyleOMatic/components/blizzard/achievement.lua
Interface/AddOns/SVUI_StyleOMatic/components/blizzard/talents.lua
Interface/AddOns/SVUI_StyleOMatic/components/style_methods.lua
diff --git a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/achievement.lua b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/achievement.lua
index dcb5f09..4d28483 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/achievement.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/achievement.lua
@@ -298,13 +298,11 @@ local function AchievementStyle()
 			end

 			if(track) then
-				track:RemoveTextures()
-				track:SetCheckboxTemplate(true)
 				track:ClearAllPoints()
-				track:Point("BOTTOMLEFT", -1, -3)
+				track:Point("BOTTOMLEFT", 1, 1)
+				track:RemoveTextures()
+				track:SetCheckboxTemplate(true, -3, -3)
 				track.ListParent = button
-
-				hooksecurefunc(track, "SetPoint", _hook_TrackingPoint)
 			end
 		end
 	end
diff --git a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/talents.lua b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/talents.lua
index 068ca9f..9d68137 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/talents.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/talents.lua
@@ -193,7 +193,7 @@ local function TalentFrameStyle()
 			for z = 1, NUM_TALENT_COLUMNS do
 				local talentItem = _G[("%sTalent%d"):format(gName, z)]
 				if(talentItem) then
-					STYLE:ApplyItemButtonStyle(talentItem)
+					STYLE:ApplyItemButtonStyle(talentItem, false, true)
 				end
 			end
 		end
diff --git a/Interface/AddOns/SVUI_StyleOMatic/components/style_methods.lua b/Interface/AddOns/SVUI_StyleOMatic/components/style_methods.lua
index 268fa0d..e82ca79 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/components/style_methods.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/components/style_methods.lua
@@ -184,9 +184,9 @@ function STYLE:ApplyItemButtonStyle(frame, adjust, shrink, noScript)

 	if(not frame.Panel) then
 		if shrink then
-			frame:SetPanelTemplate("Button", true, 1, -2, -2)
-		else
 			frame:SetPanelTemplate("Button", true, 1, -1, -1)
+		else
+			frame:SetFixedPanelTemplate("Button")
 		end
 	end