Don't show the border of the Bar Overlay when moving a bar

This commit is contained in:
Hendrik Leppkes
2008-11-01 22:09:45 +01:00
parent 9d7ed64417
commit 67261e8c74
+3 -1
View File
@@ -28,7 +28,9 @@ local snapBars = { WorldFrame, UIParent }
local barOnEnter, barOnLeave, barOnDragStart, barOnDragStop, barOnClick, barOnUpdateFunc, barOnAttributeChanged
do
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
function barOnLeave(self)