summaryrefslogtreecommitdiff
path: root/components/controls/IconButton.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-03 19:34:14 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-03 19:34:14 +1100
commitee65883f974d99a3f642fd973f6f08301d27a168 (patch)
tree7d8844883c7fcd86a590f5a3544b8d6ea1f7c242 /components/controls/IconButton.qml
parentservices: add brightnessIncrement config property (#1010) (diff)
downloadcaelestia-shell-ee65883f974d99a3f642fd973f6f08301d27a168.tar.gz
caelestia-shell-ee65883f974d99a3f642fd973f6f08301d27a168.tar.bz2
caelestia-shell-ee65883f974d99a3f642fd973f6f08301d27a168.zip
internal: fix some widgets not respecting rounding scale
Diffstat (limited to 'components/controls/IconButton.qml')
-rw-r--r--components/controls/IconButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/controls/IconButton.qml b/components/controls/IconButton.qml
index dc3b04b..ffb1d06 100644
--- a/components/controls/IconButton.qml
+++ b/components/controls/IconButton.qml
@@ -44,7 +44,7 @@ StyledRect {
onCheckedChanged: internalChecked = checked
- radius: internalChecked ? Appearance.rounding.small : implicitHeight / 2
+ radius: internalChecked ? Appearance.rounding.small : implicitHeight / 2 * Math.min(1, Appearance.rounding.scale)
color: type === IconButton.Text ? "transparent" : disabled ? disabledColour : internalChecked ? activeColour : inactiveColour
implicitWidth: implicitHeight