From 4dd2ff73a5edda0c8dd5e1be6d96ba3cba039a78 Mon Sep 17 00:00:00 2001 From: annabunches Date: Wed, 25 Aug 2021 01:13:20 -0400 Subject: [PATCH] Fix refactored toggle button code. --- lib/ui.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui.ks b/lib/ui.ks index 29d81c4..b79b009 100644 --- a/lib/ui.ks +++ b/lib/ui.ks @@ -20,7 +20,7 @@ function MakeToggle { local btn is p:AddButton(l). set btn:TOGGLE to true. - set btn:onClick to f. + set btn:onToggle to f. return btn. }