summaryrefslogtreecommitdiff
path: root/modules/lock/Media.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-17 16:06:38 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-17 16:06:38 +1000
commit5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a (patch)
treea312e33f38e463c0ccef5c76199fbb9c18cca9f5 /modules/lock/Media.qml
parentlock: refactor (diff)
downloadcaelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.tar.gz
caelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.tar.bz2
caelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.zip
internal: scale rounding properly
Diffstat (limited to 'modules/lock/Media.qml')
-rw-r--r--modules/lock/Media.qml2
1 files changed, 1 insertions, 1 deletions
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