...
 
Commits (3)
local E, L, V, P, G = unpack(ElvUI);
local E, _, V, P, G = unpack(ElvUI);
local L = E.Libs.ACL:GetLocale('ElvUI', E.global.general.locale or 'enUS')
local EP = LibStub("LibElvUIPlugin-1.0")
local AddOnName, Engine = ...;
local _G = _G
......
......@@ -30,7 +30,6 @@ local function SubDTAlpha(panel, alpha)
end
local function Bar_OnEnter(self)
if not self.Num then return end
if DTP.db["panel"..self.Num].mouseover then
E:UIFrameFadeIn(self, 0.2, self:GetAlpha(), DTP.db["panel"..self.Num].alpha)
SubDTAlpha(self, DTP.db["panel"..self.Num].alpha)
......@@ -38,7 +37,6 @@ local function Bar_OnEnter(self)
end
local function Bar_OnLeave(self, settingForce)
if not self.Num then return end
if DTP.db["panel"..self.Num].mouseover then
E:UIFrameFadeOut(self, 0.2, self:GetAlpha(), 0)
if settingForce then SubDTAlpha(self, DTP.db["panel"..self.Num].alpha) end
......@@ -48,7 +46,6 @@ end
local function Button_OnEnter(self)
local bar = self:GetParent()
if not bar.Num then return end
if DTP.db["panel"..bar.Num].mouseover then
E:UIFrameFadeIn(bar, 0.2, bar:GetAlpha(), DTP.db["panel"..bar.Num].alpha)
SubDTAlpha(bar, DTP.db["panel"..bar.Num].alpha)
......@@ -57,7 +54,6 @@ end
local function Button_OnLeave(self)
local bar = self:GetParent()
if not bar.Num then return end
if DTP.db["panel"..bar.Num].mouseover then
E:UIFrameFadeOut(bar, 0.2, bar:GetAlpha(), 0)
SubDTAlpha(bar, 0)
......