summaryrefslogtreecommitdiff
path: root/spinbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'spinbox.go')
-rw-r--r--spinbox.go2
1 files changed, 1 insertions, 1 deletions
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)