Fix refactored toggle button code.

This commit is contained in:
Anna Rose 2021-08-25 01:13:20 -04:00
parent 081fcb3618
commit 4dd2ff73a5

View File

@ -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.
} }