add option to open tooltips by pressing the mouse button

This commit is contained in:
Firmino Veras
2025-11-14 09:55:06 -03:00
parent 4b8f294a91
commit 2ccdf3b751
10 changed files with 34 additions and 15 deletions
@@ -28,7 +28,7 @@ MouseArea {
}
acceptedButtons: Qt.MiddleButton | Qt.BackButton | Qt.ForwardButton | Qt.RightButton | Qt.LeftButton
hoverEnabled: true
hoverEnabled: !Config.options.bar.tooltips.clickToShow
onPressed: (event) => {
if (event.button === Qt.MiddleButton) {
activePlayer.togglePlaying();