mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
ui/gesture: rename Scroller.Update to Scroller.Scroll
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ func (l *List) Dragging() bool {
|
||||
|
||||
func (l *List) update() {
|
||||
l.Distance = 0
|
||||
d := l.scroll.Update(l.Config, l.Inputs, gesture.Axis(l.Axis))
|
||||
d := l.scroll.Scroll(l.Config, l.Inputs, gesture.Axis(l.Axis))
|
||||
if l.Invert {
|
||||
d = -d
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user