TextInput scrolls in the proper direction
This commit is contained in:
parent
793526238a
commit
b87f32eac9
@ -120,6 +120,6 @@ func (this *TextInput) handleKeyUp (key input.Key, numpad bool) bool {
|
||||
}
|
||||
|
||||
func (this *TextInput) handleScroll (x, y float64) bool {
|
||||
this.ScrollTo(this.ContentBounds().Min.Add(image.Pt(int(x), int(y))))
|
||||
this.ScrollTo(this.ContentBounds().Min.Sub(image.Pt(int(x), int(y))))
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user