diff Libs/DF/cooltip.lua @ 53:36b4d9559b69 v7.3.0.053

- framework update.
author Tercio
date Sat, 14 Oct 2017 17:09:17 -0300
parents 2bbf129690b0
children 307f5af3ad02
line wrap: on
line diff
--- a/Libs/DF/cooltip.lua	Sat Sep 02 12:43:20 2017 -0300
+++ b/Libs/DF/cooltip.lua	Sat Oct 14 17:09:17 2017 -0300
@@ -351,14 +351,19 @@
 			
 			end
 		end)	
-
+		
 		frame1:SetScript ("OnHide", function (self)
 			CoolTip.active = false
 			CoolTip.buttonClicked = false
 			CoolTip.mouseOver = false
+			
+			--> reset parent and  strata
+			frame1:SetParent (UIParent)
+			frame2:SetParent (UIParent)
+			frame1:SetFrameStrata ("TOOLTIP")
+			frame2:SetFrameStrata ("TOOLTIP")
 		end)
-	
-	
+		
 ----------------------------------------------------------------------
 	--> Button Creation Functions
 ----------------------------------------------------------------------
@@ -2903,9 +2908,10 @@
 		CoolTip.Host = nil
 		DF:FadeFrame (frame1, 1)
 		DF:FadeFrame (frame2, 1)
-		
 	end
 	
+	
+	
 	--> old function call
 	function CoolTip:ShowMe (host, arg2)
 		--> ignore if mouse is up me