mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
77eed223ac
This commit fixes a problem that could force the scroll indicator to lay itself out outside of its configured bounds. This occurred when the scroll indicator size was increased to meet the minimum size configured on the style type while the scrollbar was near the end of the list. The increased size did not take the start position of the scroll indicator into account, which made the indicator begin in the correct place, but extend beyond the end of its track. This commit alters the logic to ensure that the scroll indicator can never extend beyond the end of its track. Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>