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

Commit 7bced578 authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Correctly apply scrollY" into sc-v2-dev

parents 9145f4a4 92097fc4
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
    }