Scrollbar drags on mouse motion
This commit is contained in:
parent
884148f006
commit
793526238a
@ -229,6 +229,7 @@ func (this *Scrollbar) handleButtonUp (button input.Button) bool {
|
||||
|
||||
func (this *Scrollbar) handleMouseMove () bool {
|
||||
if !this.dragging { return false }
|
||||
this.drag()
|
||||
return true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user