summaryrefslogtreecommitdiff
path: root/slider.go
diff options
context:
space:
mode:
Diffstat (limited to 'slider.go')
-rw-r--r--slider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/slider.go b/slider.go
index 74e07fb..99b8d2c 100644
--- a/slider.go
+++ b/slider.go
@@ -27,7 +27,7 @@ type Slider struct {
onChanged func(*Slider)
}
-// NewSlider creates a new Slider. TODO limits
+// NewSlider creates a new Slider. If min >= max, they are swapped.
func NewSlider(min int, max int) *Slider {
s := new(Slider)