diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-17 16:06:38 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-17 16:06:38 +1000 |
| commit | 5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a (patch) | |
| tree | a312e33f38e463c0ccef5c76199fbb9c18cca9f5 /modules/controlcenter/bluetooth/Settings.qml | |
| parent | lock: refactor (diff) | |
| download | caelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.tar.gz caelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.tar.bz2 caelestia-shell-5c93d07a8e8b4c0b4cea76a5f4d259a08c1c277a.zip | |
internal: scale rounding properly
Diffstat (limited to 'modules/controlcenter/bluetooth/Settings.qml')
| -rw-r--r-- | modules/controlcenter/bluetooth/Settings.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/controlcenter/bluetooth/Settings.qml b/modules/controlcenter/bluetooth/Settings.qml index 6c51ee7..1b2511d 100644 --- a/modules/controlcenter/bluetooth/Settings.qml +++ b/modules/controlcenter/bluetooth/Settings.qml @@ -425,7 +425,7 @@ ColumnLayout { implicitWidth: implicitHeight implicitHeight: editIcon.implicitHeight + Appearance.padding.smaller * 2 - radius: root.session.bt.editingAdapterName ? Appearance.rounding.small : implicitHeight / 2 + radius: root.session.bt.editingAdapterName ? Appearance.rounding.small : implicitHeight / 2 * Math.min(1, Appearance.rounding.scale) color: Qt.alpha(Colours.palette.m3primary, root.session.bt.editingAdapterName ? 1 : 0) StateLayer { |