ui/gesture: rename Scroller.Update to Scroller.Scroll

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-06-22 17:36:57 +02:00
parent bebfd822d8
commit 4f94f1078a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ func (e *Editor) Next() (EditorEvent, bool) {
axis = gesture.Vertical
smin, smax = sbounds.Min.Y, sbounds.Max.Y
}
sdist := e.scroller.Update(e.Config, e.Inputs, axis)
sdist := e.scroller.Scroll(e.Config, e.Inputs, axis)
var soff int
if e.SingleLine {
e.scrollOff.X += sdist