Scrollbar drawing

This commit is contained in:
2023-01-20 15:35:43 -05:00
parent 3acbe40665
commit faf38b96c2
3 changed files with 112 additions and 35 deletions

View File

@@ -168,6 +168,6 @@ type Scrollable interface {
ScrollAxes () (horizontal, vertical bool)
// OnScrollBoundsChange sets a function to be called when the element's
// ScrollContentBounds or ScrollViewportBounds are changed.
// ScrollContentBounds, ScrollViewportBounds, or ScrollAxes are changed.
OnScrollBoundsChange (callback func ())
}