diff options
Diffstat (limited to 'desktop/modules')
| -rw-r--r-- | desktop/modules/sound/TransportButton.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/modules/sound/TransportButton.qml b/desktop/modules/sound/TransportButton.qml index b6dd53f..f7f72fa 100644 --- a/desktop/modules/sound/TransportButton.qml +++ b/desktop/modules/sound/TransportButton.qml @@ -19,14 +19,16 @@ Rectangle { signal clicked width: 30; height: 30; radius: 15 - color: area.containsMouse && enabled ? Qt.alpha(Theme.accent, 0.22) : "transparent" + color: area.pressed && enabled + ? Theme.accent + : area.containsMouse && enabled ? Qt.alpha(Theme.accent, 0.22) : "transparent" opacity: enabled ? 1 : 0.35 Text { anchors.centerIn: parent text: btn.glyph font { family: Theme.iconFamily; pixelSize: 14 } - color: Theme.text + color: (area.pressed && btn.enabled) ? Theme.base : Theme.text } MouseArea { |
