From 8e729f3615082655b88af2154319412623b29ef2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 22 May 2016 20:13:35 -0400 Subject: Documented the new limit swapping of uiSlider and uiSpinbox. --- spinbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spinbox.go') diff --git a/spinbox.go b/spinbox.go index 77cedf5..5e5e43f 100644 --- a/spinbox.go +++ b/spinbox.go @@ -27,7 +27,7 @@ type Spinbox struct { onChanged func(*Spinbox) } -// NewSpinbox creates a new Spinbox. TODO limits +// NewSpinbox creates a new Spinbox. If min >= max, they are swapped. func NewSpinbox(min int, max int) *Spinbox { s := new(Spinbox) -- cgit v1.2.3