Scrollbar now displays scroll value

This commit is contained in:
Sasha Koshka 2023-09-14 21:04:59 -04:00
parent 134f8016c1
commit 15d7031e22

View File

@ -43,6 +43,7 @@ func newScrollbar (orient string) *Scrollbar {
this.OnMouseDown(this.handleMouseDown) this.OnMouseDown(this.handleMouseDown)
this.OnMouseUp(this.handleMouseUp) this.OnMouseUp(this.handleMouseUp)
this.OnMouseMove(this.handleMouseMove) this.OnMouseMove(this.handleMouseMove)
this.OnScroll(this.handleScroll)
theme.Apply(this.handle, theme.R("objects", "SliderHandle", orient)) theme.Apply(this.handle, theme.R("objects", "SliderHandle", orient))
theme.Apply(this, theme.R("objects", "Slider", orient)) theme.Apply(this, theme.R("objects", "Slider", orient))
return this return this