script: refactor change-colortheme

This commit is contained in:
Uyanide committed 2025-10-18 02:50:22 +02:00
1 parent f7fe2b00b5
commit 6f8b7431f9
49 files changed
+360 -1668

No files matched your search

@@ -55,8 +55,12 @@ Item {
anchors.fill: parent
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: {
MusicManager.playPause();
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: (mouse) => {
if (mouse.button === Qt.LeftButton)
MusicManager.playPause();
else if (mouse.button === Qt.RightButton)
SettingsService.showLyricsBar = !SettingsService.showLyricsBar;
}
onWheel: function(wheel) {
if (wheel.angleDelta.y > 0)