fix cyCircled support causing taint messages in some cases
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
## Title: Bartender4
|
||||
## Author: Nevcairiel
|
||||
## SavedVariables: Bartender4DB
|
||||
## OptionalDeps: Ace3, cyCircled
|
||||
## OptionalDeps: Ace3
|
||||
## X-Embeds: Ace3
|
||||
## X-Category: Action Bars
|
||||
## Version: 4.0
|
||||
|
||||
+4
-2
@@ -176,8 +176,10 @@ function ButtonBar:GetStyle()
|
||||
end
|
||||
|
||||
function ButtonBar:SetStyle(style)
|
||||
self.config.style = style
|
||||
self:ForAll("ApplyStyle", style)
|
||||
if style then
|
||||
self.config.style = style
|
||||
end
|
||||
self:ForAll("ApplyStyle", self.config.style)
|
||||
end
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -92,5 +92,5 @@ end
|
||||
|
||||
function Bartender4:cyLoaded()
|
||||
cydb = cyCircled_Bartender4 and cyCircled_Bartender4.db
|
||||
Bartender4.Bar:ForAll("ApplyConfig")
|
||||
Bartender4.Bar:ForAll("SetStyle")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user