Skip to content

Commit 806726a

Browse files
committed
PR feedback
Change-Id: I6e9f4a2ba53e81d32d07e229eb848541801eca18
1 parent eeb4973 commit 806726a

File tree

1 file changed

+4
-3
lines changed
  • core/designsystem/src/main/java/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar

1 file changed

+4
-3
lines changed

core/designsystem/src/main/java/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/Scrollbar.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,11 @@ private value class ScrollbarTrack(
101101

102102
/**
103103
* Creates a [ScrollbarState] with the listed properties
104-
* @param thumbSizePercent the thumb size of the scrollbar as a percentage of the total track size
104+
* @param thumbSizePercent the thumb size of the scrollbar as a percentage of the total track size.
105+
* Refers to either the thumb width (for horizontal scrollbars)
106+
* or height (for vertical scrollbars).
105107
* @param thumbDisplacementPercent the distance the thumb has traveled as a percentage of total
106-
* track size. Refers to either the thumb width (for horizontal scrollbars)
107-
* or height (for vertical scrollbars).
108+
* track size.
108109
*/
109110
fun ScrollbarState(
110111
thumbSizePercent: Float,

0 commit comments

Comments
 (0)