Scrollbar has ScrollbarHandle instead of SliderHandle

This commit is contained in:
Sasha Koshka 2024-08-16 18:36:20 -04:00
parent 0fe4979483
commit 7c42b7ad37

View File

@ -43,7 +43,7 @@ func newScrollbar (orient string) *Scrollbar {
this.OnMouseMove(this.handleMouseMove)
this.OnScroll(this.handleScroll)
this.handle.SetRole(tomo.R("objects", "SliderHandle"))
this.handle.SetRole(tomo.R("objects", "ScrollbarHandle"))
this.handle.SetTag(orient, true)
this.SetRole(tomo.R("objects", "Slider"))
this.SetTag(orient, true)