mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
bar/media: fix icon scaling
This commit is contained in:
1 parent
f102a83d9f
commit
4c65efc40b
1 file changed
+5
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user