Don't show the border of the Bar Overlay when moving a bar
This commit is contained in:
@@ -28,7 +28,9 @@ local snapBars = { WorldFrame, UIParent }
|
|||||||
local barOnEnter, barOnLeave, barOnDragStart, barOnDragStop, barOnClick, barOnUpdateFunc, barOnAttributeChanged
|
local barOnEnter, barOnLeave, barOnDragStart, barOnDragStop, barOnClick, barOnUpdateFunc, barOnAttributeChanged
|
||||||
do
|
do
|
||||||
function barOnEnter(self)
|
function barOnEnter(self)
|
||||||
self:SetBackdropBorderColor(0.5, 0.5, 0, 1)
|
if not self:GetParent().isMoving then
|
||||||
|
self:SetBackdropBorderColor(0.5, 0.5, 0, 1)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function barOnLeave(self)
|
function barOnLeave(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user