Compare commits
No commits in common. "b87f32eac9cb200b394f3fb4687f1b35c1da2df7" and "884148f00641d5a668a05f2e5bdf971a2cf827ea" have entirely different histories.
b87f32eac9
...
884148f006
@ -229,7 +229,6 @@ func (this *Scrollbar) handleButtonUp (button input.Button) bool {
|
|||||||
|
|
||||||
func (this *Scrollbar) handleMouseMove () bool {
|
func (this *Scrollbar) handleMouseMove () bool {
|
||||||
if !this.dragging { return false }
|
if !this.dragging { return false }
|
||||||
this.drag()
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,6 +120,6 @@ func (this *TextInput) handleKeyUp (key input.Key, numpad bool) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *TextInput) handleScroll (x, y float64) bool {
|
func (this *TextInput) handleScroll (x, y float64) bool {
|
||||||
this.ScrollTo(this.ContentBounds().Min.Sub(image.Pt(int(x), int(y))))
|
this.ScrollTo(this.ContentBounds().Min.Add(image.Pt(int(x), int(y))))
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user