mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
Bugfixes: Removed retail API calls, ran linting script and static analysis.
This commit is contained in:
@@ -69,7 +69,8 @@ function UF:Construct_AuraIcon(button)
|
||||
button.overlay:SetTexture(nil)
|
||||
|
||||
button:RegisterForClicks("RightButtonUp")
|
||||
button:SetScript("OnClick", function(self)
|
||||
button:SetScript("OnClick", function()
|
||||
local self = this
|
||||
if E.db.unitframe.auraBlacklistModifier == "NONE"
|
||||
or not ((E.db.unitframe.auraBlacklistModifier == "SHIFT" and IsShiftKeyDown())
|
||||
or (E.db.unitframe.auraBlacklistModifier == "ALT" and IsAltKeyDown())
|
||||
|
||||
@@ -18,13 +18,12 @@ function UF:CombobarDetachedUpdate()
|
||||
CombobarDetached:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
CombobarDetached:RegisterEvent("UPDATE_SHAPESHIFT_FORM")
|
||||
|
||||
CombobarDetached:SetScript("OnEvent", function(self, event, unit)
|
||||
print(self, event, unit)
|
||||
CombobarDetached:SetScript("OnEvent", function()
|
||||
if event == "PLAYER_ENTERING_WORLD" then
|
||||
E:ShapeshiftDelayedUpdate(ElvUF_Target.ComboPoints.Override, ElvUF_Target)
|
||||
end
|
||||
|
||||
ElvUF_Target.ComboPoints.Override(ElvUF_Target, event, unit)
|
||||
ElvUF_Target.ComboPoints.Override(ElvUF_Target, event, arg1)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user