forked from joejulian/gio
020eb27ff5
This commit adds methods to widget.Scrollbar that enable consuming code to check if the scroll indicator is processing a drag gesture or if the scroll track is currently being hovered. These accessors enable scrollbar style types to have enough information to hide the scroll indicator when it isn't needed, whereas currently they cannot differentiate between a scrollbar indicator that is being dragged but hasn't moved since the last frame and a scrollbar indicator that is not being dragged. Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>