1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

Media volume scroll on DankBar widget and media volume OSD (#795)

* osd: add media volume OSD

* media: scroll on widget changes media volume

* dash: use media volume in media tab
This commit is contained in:
Lucas
2025-11-23 02:42:06 -03:00
committed by GitHub
parent 89298fce30
commit 6cc6e7c8e9
8 changed files with 376 additions and 35 deletions

View File

@@ -34,6 +34,7 @@ Item {
signal clicked
signal rightClicked
signal wheel(var wheelEvent)
width: isVerticalOrientation ? barThickness : visualWidth
height: isVerticalOrientation ? visualHeight : barThickness
@@ -98,5 +99,8 @@ Item {
}
root.clicked();
}
onWheel: function (wheelEvent) {
root.wheel(wheelEvent)
}
}
}