From ab0d77d388af861a1900537d95bf0a5ad35ede97 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 10 Jan 2024 19:38:10 -0600 Subject: [PATCH] move to any A Signed-off-by: Jeff Carr --- widget.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget.go b/widget.go index 935f2aa..0a0e5de 100644 --- a/widget.go +++ b/widget.go @@ -31,6 +31,7 @@ type Action struct { B bool I int S string + A any // switch to this or deprecate this? pros/cons? // This is used for things like a slider(0,100) X int @@ -48,7 +49,6 @@ type Action struct { // Make widgets fill up the space available Expand bool - A any // switch to this or deprecate this? pros/cons? } const (