diff --git a/ElvUI/Core/Movers.lua b/ElvUI/Core/Movers.lua index f9b742d..ae442aa 100644 --- a/ElvUI/Core/Movers.lua +++ b/ElvUI/Core/Movers.lua @@ -25,13 +25,13 @@ local function GetPoint(obj) end local function UpdateCoords(self) - local mover = self.child; - local x, y, _, nudgePoint, nudgeInversePoint = E:CalculateMoverPoints(mover); + local mover = self.child or self + local x, y, _, nudgePoint, nudgeInversePoint = E:CalculateMoverPoints(mover) - local coordX, coordY = E:GetXYOffset(nudgeInversePoint, 1); - ElvUIMoverNudgeWindow:ClearAllPoints(); - ElvUIMoverNudgeWindow:SetPoint(nudgePoint, mover, nudgeInversePoint, coordX, coordY); - E:UpdateNudgeFrame(mover, x, y); + local coordX, coordY = E:GetXYOffset(nudgeInversePoint, 1) + ElvUIMoverNudgeWindow:ClearAllPoints() + ElvUIMoverNudgeWindow:SetPoint(nudgePoint, mover, nudgeInversePoint, coordX, coordY) + E:UpdateNudgeFrame(mover, x, y) end local isDragging = false diff --git a/ElvUI/Modules/ActionBars/BarShapeShift.lua b/ElvUI/Modules/ActionBars/BarShapeShift.lua index bf134fb..9f40794 100644 --- a/ElvUI/Modules/ActionBars/BarShapeShift.lua +++ b/ElvUI/Modules/ActionBars/BarShapeShift.lua @@ -49,7 +49,6 @@ function AB:StyleShapeShift() if self.db.barShapeShift.style == "darkenInactive" then if name then texture = texture - -- texture = GetSpellTexture(name, BOOKTYPE_SPELL) end end