Fix refactored toggle button code.
This commit is contained in:
parent
081fcb3618
commit
4dd2ff73a5
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function MakeToggle {
|
||||||
|
|
||||||
local btn is p:AddButton(l).
|
local btn is p:AddButton(l).
|
||||||
set btn:TOGGLE to true.
|
set btn:TOGGLE to true.
|
||||||
set btn:onClick to f.
|
set btn:onToggle to f.
|
||||||
return btn.
|
return btn.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue