From 5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 17 Aug 2025 16:06:38 +1000 Subject: internal: scale rounding properly --- modules/lock/Media.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lock/Media.qml') diff --git a/modules/lock/Media.qml b/modules/lock/Media.qml index be289eb..59bed16 100644 --- a/modules/lock/Media.qml +++ b/modules/lock/Media.qml @@ -163,7 +163,7 @@ Item { implicitHeight: controlIcon.implicitHeight + Appearance.padding.normal * 2 color: active ? Colours.palette[`m3${colour.toLowerCase()}`] : Colours.palette[`m3${colour.toLowerCase()}Container`] - radius: active || controlState.pressed ? Appearance.rounding.normal : Math.min(implicitWidth, implicitHeight) / 2 + radius: active || controlState.pressed ? Appearance.rounding.normal : Math.min(implicitWidth, implicitHeight) / 2 * Math.min(1, Appearance.rounding.scale) Elevation { anchors.fill: parent -- cgit v1.2.3-freya