diff options
Diffstat (limited to 'framework/qml/Button.qml')
-rw-r--r-- | framework/qml/Button.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml index 4f3dd776..181cf58b 100644 --- a/framework/qml/Button.qml +++ b/framework/qml/Button.qml | |||
@@ -34,13 +34,13 @@ T.Button { | |||
34 | hoverEnabled: true | 34 | hoverEnabled: true |
35 | 35 | ||
36 | background: Rectangle { | 36 | background: Rectangle { |
37 | color: root.pressed ? Colors.highlightColor : Colors.buttonColor | 37 | color: Colors.buttonColor |
38 | 38 | ||
39 | Rectangle { | 39 | Rectangle { |
40 | anchors.fill: parent | 40 | anchors.fill: parent |
41 | visible: root.hovered | 41 | visible: root.hovered || root.pressed |
42 | color: Colors.viewBackgroundColor | 42 | color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor |
43 | opacity: 0.1 | 43 | opacity: 0.2 |
44 | } | 44 | } |
45 | } | 45 | } |
46 | 46 | ||