Quantcast

Hide the spec buttons on load so you don't have to hover over them twice the first time

Adrian L Lange [08-20-14 - 21:09]
Hide the spec buttons on load so you don't have to hover over them twice the first time
Filename
BonusRollPreview.lua
diff --git a/BonusRollPreview.lua b/BonusRollPreview.lua
index e084e5e..8226eb2 100644
--- a/BonusRollPreview.lua
+++ b/BonusRollPreview.lua
@@ -18,6 +18,7 @@ local Handle = CreateFrame('Button', 'BonusRollPreviewHandle', BonusRollFrame)

 local Hotspot = CreateFrame('Frame', nil, BonusRollFrame)
 local Buttons = CreateFrame('Frame', 'BonusRollPreviewSpecButtons', Hotspot)
+Buttons:Hide()

 local function SpecButtonClick(self)
 	SetLootSpecialization(self.specID)