Quantcast

Fix for tooltips appearing when Screensaver is active

Darthpred [10-25-14 - 19:06]
Fix for tooltips appearing when Screensaver is active
Filename
ElvUI_SLE/modules/sledatatexts/currency.lua
ElvUI_SLE/modules/sledatatexts/friends.lua
ElvUI_SLE/modules/sledatatexts/guild.lua
diff --git a/ElvUI_SLE/modules/sledatatexts/currency.lua b/ElvUI_SLE/modules/sledatatexts/currency.lua
index 5a7c5f0..7f26354 100644
--- a/ElvUI_SLE/modules/sledatatexts/currency.lua
+++ b/ElvUI_SLE/modules/sledatatexts/currency.lua
@@ -203,6 +203,7 @@ local function Click(self, btn)
 end

 local function OnEnter(self)
+	if SLE_SS:IsShown() then return end
 	DT:SetupTooltip(self)

 	DT.tooltip:AddLine(L['Session:'])
diff --git a/ElvUI_SLE/modules/sledatatexts/friends.lua b/ElvUI_SLE/modules/sledatatexts/friends.lua
index a1c326e..e0907f9 100644
--- a/ElvUI_SLE/modules/sledatatexts/friends.lua
+++ b/ElvUI_SLE/modules/sledatatexts/friends.lua
@@ -292,6 +292,7 @@ end
 function LDB.OnLeave() end

 function LDB.OnEnter(self)
+	if SLE_SS:IsShown() then return end
 	if E.db.sle.dt.friends.combat and InCombatLockdown() then return end
 	LDB_ANCHOR = self

diff --git a/ElvUI_SLE/modules/sledatatexts/guild.lua b/ElvUI_SLE/modules/sledatatexts/guild.lua
index f1b3140..f71d916 100644
--- a/ElvUI_SLE/modules/sledatatexts/guild.lua
+++ b/ElvUI_SLE/modules/sledatatexts/guild.lua
@@ -238,6 +238,7 @@ end
 function LDB.OnLeave() end

 function LDB.OnEnter(self)
+	if SLE_SS:IsShown() then return end
 	if E.db.sle.dt.guild.combat and InCombatLockdown() then return end
 	LDB_ANCHOR = self