Update thumbTrackSizePercent calculation for readability

Change-Id: I7ef067a950b4b5911b8c2e6a8c1f72c3e95d938d
pull/1080/head
Yuya 2 years ago
parent 07d9877331
commit e8f4537e7c

@ -96,7 +96,7 @@ class ScrollbarState {
* Returns the max distance the thumb can travel as a percentage of total track size * Returns the max distance the thumb can travel as a percentage of total track size
*/ */
val thumbTrackSizePercent val thumbTrackSizePercent
get() = 1f - unpackFloat1(packedValue) get() = 1f - thumbSizePercent
} }
/** /**

Loading…
Cancel
Save