diff Libs/DF/slider.lua @ 58:0682d738499b v8.0.1.058

- 8.0.1 Update.
author Tercio
date Fri, 20 Jul 2018 19:04:12 -0300
parents 7c0f819a85c6
children
line wrap: on
line diff
--- a/Libs/DF/slider.lua	Sun Mar 11 10:50:42 2018 -0300
+++ b/Libs/DF/slider.lua	Fri Jul 20 19:04:12 2018 -0300
@@ -338,7 +338,6 @@
 --> scripts
 
 	local OnEnter = function (slider)
-	
 		if (_rawget (slider.MyObject, "lockdown")) then
 			return
 		end
@@ -362,8 +361,8 @@
 			GameCooltip2:AddLine (slider.MyObject.have_tooltip)
 			GameCooltip2:ShowCooltip (slider, "tooltip")
 		else
-			GameCooltip2:Preset (1)
-			GameCooltip2:AddLine ("Right Click to Type the Value")
+			GameCooltip2:Preset (2)
+			GameCooltip2:AddLine ("Right Click to Type the Value", "", 1, "", "", 10)
 			GameCooltip2:AddIcon ([[Interface\TUTORIALFRAME\UI-TUTORIAL-FRAME]], 1, 1, 16, 16, 0.015625, 0.15671875, 0.640625, 0.798828125)
 			GameCooltip2:ShowCooltip (slider, "tooltip")
 		end
@@ -396,7 +395,6 @@
 
 	local f = CreateFrame ("frame", "DetailsFrameworkSliderButtons1", UIParent)
 	f:Hide()
-	--f:SetBackdrop ({bgFile = [[Interface\DialogFrame\UI-DialogBox-Background-Dark]], tile = true, tileSize = 5})
 	f:SetHeight (18)
 	
 	local t = 0
@@ -413,8 +411,9 @@
 	function f:ShowMe (host)
 		f:SetPoint ("bottomleft", host, "topleft", -3, -5)
 		f:SetPoint ("bottomright", host, "topright", 3, -5)
-		f:SetFrameStrata (host:GetFrameStrata())
-		f:SetFrameLevel (host:GetFrameLevel())
+		--f:SetFrameStrata (host:GetFrameStrata())
+		f:SetFrameStrata ("FULLSCREEN")
+		f:SetFrameLevel (host:GetFrameLevel() + 1000)
 		f:Show()
 		if (f.is_going_hide) then
 			f:SetScript ("OnUpdate", nil)
@@ -1146,7 +1145,6 @@
 
 	SliderObject.slider:SetBackdrop ({edgeFile = "Interface\\Buttons\\UI-SliderBar-Border", edgeSize = 8})
 	SliderObject.slider:SetBackdropColor (0.9, 0.7, 0.7, 1.0)
-	--SliderObject.slider:SetBackdropColor (0, 0, 0, 1)
 
 	SliderObject.thumb = SliderObject.slider:CreateTexture (nil, "artwork")
 	SliderObject.thumb:SetTexture ("Interface\\Buttons\\UI-ScrollBar-Knob")
@@ -1218,4 +1216,4 @@
 	
 	return SliderObject, with_label
 	
-end
\ No newline at end of file
+end