From 67261e8c74aa75ea04bfc3908e9968e4e3f79a8b Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 1 Nov 2008 22:09:45 +0100 Subject: [PATCH] Don't show the border of the Bar Overlay when moving a bar --- Bar.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Bar.lua b/Bar.lua index 388d0ba..08f6089 100644 --- a/Bar.lua +++ b/Bar.lua @@ -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)