Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 564b84d4 authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Merge "Correctly apply scrollY" into sc-v2-dev am: 7bced578

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16178330

Change-Id: Idee9f7b1a58b071991eb951bd10d774b2e34559f
parents 29d56c1b 7bced578
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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
    }