From 4c65efc40b7250dbc6b14cfe8fed7ae3f73980d6 Mon Sep 17 00:00:00 2001 From: bbedward Date: Sat, 19 Sep 2026 16:08:07 -0400 Subject: [PATCH] bar/media: fix icon scaling --- quickshell/Modules/DankBar/Widgets/Media.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/quickshell/Modules/DankBar/Widgets/Media.qml b/quickshell/Modules/DankBar/Widgets/Media.qml index ee83f8cb2..cf43f85b5 100644 --- a/quickshell/Modules/DankBar/Widgets/Media.qml +++ b/quickshell/Modules/DankBar/Widgets/Media.qml @@ -128,9 +128,11 @@ BasePill { DankIconButton { anchors.centerIn: parent - width: Theme.buttonHeightS - buttonSize: Theme.buttonHeightS - scale: parent.width / width + width: parent.width + height: parent.height + buttonSize: parent.width + iconSize: 14 * root.contentScale + radius: pressed ? Theme.cornerRadiusXS : (checked ? Theme.cornerRadiusFull : Theme.cornerRadiusS) variant: "filled" round: false checkable: true