Minor cleanups in action button code
This commit is contained in:
@@ -91,7 +91,6 @@ function Bartender4.Button:Create(id, parent)
|
|||||||
|
|
||||||
--button:SetAttribute("useparent-unit", true)
|
--button:SetAttribute("useparent-unit", true)
|
||||||
|
|
||||||
parent:SetAttribute('_adopt', button)
|
|
||||||
button:SetAttribute('_childupdate-state', [[
|
button:SetAttribute('_childupdate-state', [[
|
||||||
self:SetAttribute("state", message)
|
self:SetAttribute("state", message)
|
||||||
local type = self:GetAttribute("type-" .. message)
|
local type = self:GetAttribute("type-" .. message)
|
||||||
|
|||||||
Reference in New Issue
Block a user