Quantcast

Toggle frames with vehicle state

James Whitehead II [07-23-09 - 07:52]
Toggle frames with vehicle state
Filename
PerfectRaid.lua
diff --git a/PerfectRaid.lua b/PerfectRaid.lua
index c896d81..a5cb66a 100644
--- a/PerfectRaid.lua
+++ b/PerfectRaid.lua
@@ -558,6 +558,9 @@ function PerfectRaid.ConfigureButton(button)
 	button:SetAttribute("initial-width", 225)
 	button:SetAttribute("initial-height", 14)

+    -- Change with vehicle state:
+    button:SetAttribute("toggleForVehicle", true)
+
 	if self.db.profile.clickcast then
 		ClickCastFrames[button] = true
 	end