fix the color of the overlay in unlocked mode

This commit is contained in:
Hendrik Leppkes
2008-05-04 10:07:40 +00:00
parent 1bead47203
commit ebed178bd3
+2 -2
View File
@@ -292,9 +292,9 @@ function Bar:SetShow(show)
self[self.config.show and "Show" or "Hide"](self) self[self.config.show and "Show" or "Hide"](self)
else else
if not self.config.show then if not self.config.show then
self:SetBackdropColor(1, 0, 0, 0.5) self.overlay:SetBackdropColor(1, 0, 0, 0.5)
else else
self:SetBackdropColor(0, 1, 0, 0.5) self.overlay:SetBackdropColor(0, 1, 0, 0.5)
end end
end end
end end