fix the color of the overlay in unlocked mode
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user