diff options
| -rw-r--r-- | slider.go | 2 | ||||
| -rw-r--r-- | spinbox.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) @@ -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) |
