diff --git a/slider.go b/slider.go index f2ebf32..347f5fa 100644 --- a/slider.go +++ b/slider.go @@ -98,16 +98,20 @@ func (this *Slider) handleKeyDown (key input.Key, numpad bool) { } else { this.SetValue(this.Value() - increment) } + this.on.slide.Broadcast() case input.KeyDown, input.KeyRight: if this.Modifiers().Alt { this.SetValue(1) } else { this.SetValue(this.Value() + increment) } + this.on.slide.Broadcast() case input.KeyHome: this.SetValue(0) + this.on.slide.Broadcast() case input.KeyEnd: this.SetValue(1) + this.on.slide.Broadcast() } }