Quantcast

* Fixed an issue where dragging the player frame would give an error

James Whitehead II [04-26-07 - 22:32]
* Fixed an issue where dragging the player frame would give an error
* Fixed an issue where the blizzard party frames would not hide properly under all circumstances
Filename
PerfectRaid.lua
diff --git a/PerfectRaid.lua b/PerfectRaid.lua
index b0f47f2..13c4c41 100644
--- a/PerfectRaid.lua
+++ b/PerfectRaid.lua
@@ -254,11 +254,11 @@ function PerfectRaid:CreateRaidFrame(idx)
 		frame.player:Show()
 		frame.player:SetWidth(224)
 		frame.player:SetHeight(14)
-
-		self.hasparty = true
+		frame.player.dragparent = frame
 	 end

-	if options.partyFrame then
+	if options.partyFrame then
+		self.hasparty = true
 		if self.inparty then
 			frame.player:Show()
 		else