Update Switch

This commit is contained in:
Sabine Lim
2023-05-16 02:56:56 +10:00
parent f304c98ce8
commit ac40dbeb10

View File

@@ -20,16 +20,28 @@ return function(name, basalt)
return self
end,
getSymbol = function(self)
return bgSymbol
end,
setActiveBackground = function(self, col)
activeBG = col
return self
end,
getActiveBackground = function(self)
return activeBG
end,
setInactiveBackground = function(self, col)
inactiveBG = col
return self
end,
getInactiveBackground = function(self)
return inactiveBG
end,
load = function(self)
self:listenEvent("mouse_click")