bar/media: fix icon scaling

This commit is contained in:
bbedward committed 2026-09-19 16:08:07 -04:00
1 parent f102a83d9f
commit 4c65efc40b
1 file changed
+5 -3
+5 -3
View File
@@ -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