Update thumbTrackSizePercent calculation for readability

Change-Id: I7ef067a950b4b5911b8c2e6a8c1f72c3e95d938d
pull/1080/head
Yuya 12 months 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
*/
val thumbTrackSizePercent
get() = 1f - unpackFloat1(packedValue)
get() = 1f - thumbSizePercent
}
/**

Loading…
Cancel
Save