VerticalOffsetForThumb#
func (geometry ScrollAreaGeometry) VerticalOffsetForThumb(thumbTop float32) float32VerticalOffsetForThumb returns the content offset that places the top edge of the vertical thumb at thumbTop: the inverse of the thumb placement, clamped to [0, MaxOffsetY]. A caller turns a pointer drag on the scrollbar into its owned offset with it, without repeating the track insets. It is zero when the area does not scroll vertically.