PR feedback

Change-Id: I6e9f4a2ba53e81d32d07e229eb848541801eca18
pull/722/head
TJ Dahunsi 1 year ago
parent eeb4973265
commit 806726a7f0

@ -101,10 +101,11 @@ private value class ScrollbarTrack(
/**
* Creates a [ScrollbarState] with the listed properties
* @param thumbSizePercent the thumb size of the scrollbar as a percentage of the total track size
* @param thumbDisplacementPercent the distance the thumb has traveled as a percentage of total
* track size. Refers to either the thumb width (for horizontal scrollbars)
* @param thumbSizePercent the thumb size of the scrollbar as a percentage of the total track size.
* Refers to either the thumb width (for horizontal scrollbars)
* or height (for vertical scrollbars).
* @param thumbDisplacementPercent the distance the thumb has traveled as a percentage of total
* track size.
*/
fun ScrollbarState(
thumbSizePercent: Float,

Loading…
Cancel
Save