forked from joejulian/gio
992f568ac7
Previously, we'd scroll so the new viewportStart corresponded to the clicked position. This felt okay if clicking above the current indicator, but felt jarring when clicking below it. Centering gives a consistent behavior regardless of the scroll direction. Signed-off-by: Dominik Honnef <dominik@honnef.co>