mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
update BarShapeShift
This commit is contained in:
@@ -25,13 +25,13 @@ local function GetPoint(obj)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function UpdateCoords(self)
|
local function UpdateCoords(self)
|
||||||
local mover = self.child;
|
local mover = self.child or self
|
||||||
local x, y, _, nudgePoint, nudgeInversePoint = E:CalculateMoverPoints(mover);
|
local x, y, _, nudgePoint, nudgeInversePoint = E:CalculateMoverPoints(mover)
|
||||||
|
|
||||||
local coordX, coordY = E:GetXYOffset(nudgeInversePoint, 1);
|
local coordX, coordY = E:GetXYOffset(nudgeInversePoint, 1)
|
||||||
ElvUIMoverNudgeWindow:ClearAllPoints();
|
ElvUIMoverNudgeWindow:ClearAllPoints()
|
||||||
ElvUIMoverNudgeWindow:SetPoint(nudgePoint, mover, nudgeInversePoint, coordX, coordY);
|
ElvUIMoverNudgeWindow:SetPoint(nudgePoint, mover, nudgeInversePoint, coordX, coordY)
|
||||||
E:UpdateNudgeFrame(mover, x, y);
|
E:UpdateNudgeFrame(mover, x, y)
|
||||||
end
|
end
|
||||||
|
|
||||||
local isDragging = false
|
local isDragging = false
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ function AB:StyleShapeShift()
|
|||||||
if self.db.barShapeShift.style == "darkenInactive" then
|
if self.db.barShapeShift.style == "darkenInactive" then
|
||||||
if name then
|
if name then
|
||||||
texture = texture
|
texture = texture
|
||||||
-- texture = GetSpellTexture(name, BOOKTYPE_SPELL)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user