Quantcast

Add a tooltip to the experience bar

Adrian L Lange [10-27-14 - 14:04]
Add a tooltip to the experience bar
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 105b150..cdc492d 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -206,6 +206,8 @@ local UnitSpecific = {
 		Experience:SetSize(230, 6)
 		Experience:SetStatusBarTexture(TEXTURE)
 		Experience:SetStatusBarColor(0.15, 0.7, 0.1)
+		Experience:SetScript('OnEnter', MainMenuExpBar:GetScript('OnEnter'))
+		Experience:SetScript('OnLeave', MainMenuExpBar:GetScript('OnLeave'))
 		self.Experience = Experience

 		local Rested = CreateFrame('StatusBar', nil, Experience)