From f77f6c134d9fdad770b23844826dc7552ca7bfe3 Mon Sep 17 00:00:00 2001 From: TJ Dahunsi Date: Wed, 5 Jul 2023 14:21:06 +0100 Subject: [PATCH] PR feedback Change-Id: I6e9f4a2ba53e81d32d07e229eb848541801eca18 --- .../core/designsystem/component/scrollbar/Scrollbar.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/designsystem/src/main/java/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/Scrollbar.kt b/core/designsystem/src/main/java/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/Scrollbar.kt index 0571ff6d1..f4710f2c6 100644 --- a/core/designsystem/src/main/java/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/Scrollbar.kt +++ b/core/designsystem/src/main/java/com/google/samples/apps/nowinandroid/core/designsystem/component/scrollbar/Scrollbar.kt @@ -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 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. Refers to either the thumb width (for horizontal scrollbars) - * or height (for vertical scrollbars). + * track size. */ fun ScrollbarState( thumbSizePercent: Float,