Quantcast

Pet xp bar should also replicate backdrop, if there is any

Adrian L Lange [08-17-09 - 21:08]
Pet xp bar should also replicate backdrop, if there is any
Filename
oUF_Experience.lua
diff --git a/oUF_Experience.lua b/oUF_Experience.lua
index e066851..4693510 100644
--- a/oUF_Experience.lua
+++ b/oUF_Experience.lua
@@ -123,6 +123,11 @@ local function enable(self, unit)
 					bar.bg:SetParent(bar)
 					bar.bg:SetAllPoints(bar)
 				end
+
+				if(bar.Rested:GetBackdrop()) then
+					bar:SetBackdrop(bar.Rested:GetBackdrop())
+					bar:SetBackdropColor(bar.Rested:GetBackdropColor())
+				end
 			end
 		end