Very minimal volume widget and PWAudioService

This commit is contained in:
quadbyte 2025-08-10 18:28:36 -04:00
parent 56777fc9fd
commit 5c7268aaee
7 changed files with 326 additions and 234 deletions

View file

@ -18,6 +18,10 @@ Item {
property real sizeMultiplier: 0.8
property bool autoHide: false
property var onEntered: function () {}
property var onExited: function () {}
property var onClicked: function () {}
// Internal state
property bool showPill: false
property bool shouldAnimateHide: false
@ -190,10 +194,15 @@ Item {
onEntered: {
showDelayed()
tooltip.show()
root.onEntered()
}
onExited: {
hide()
tooltip.hide()
root.onExited()
}
onClicked: {
root.onClicked()
}
}