Merge "Correctly apply scrollY" into sc-v2-dev
This commit is contained in:
@@ -242,12 +242,12 @@ open class QSTileViewImpl @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
private fun updateHeight() {
|
||||
val actualHeight = (if (heightOverride != HeightOverrideable.NO_OVERRIDE) {
|
||||
val actualHeight = if (heightOverride != HeightOverrideable.NO_OVERRIDE) {
|
||||
heightOverride
|
||||
} else {
|
||||
measuredHeight
|
||||
} * squishinessFraction).toInt()
|
||||
bottom = top + actualHeight
|
||||
}
|
||||
bottom = top + (actualHeight * squishinessFraction).toInt()
|
||||
scrollY = (actualHeight - height) / 2
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user