diff options
Diffstat (limited to 'framework/qml/PositiveButton.qml')
-rw-r--r-- | framework/qml/PositiveButton.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/qml/PositiveButton.qml b/framework/qml/PositiveButton.qml index 534d48cd..7c00a212 100644 --- a/framework/qml/PositiveButton.qml +++ b/framework/qml/PositiveButton.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.positiveColor | 37 | color: Colors.positiveColor |
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 | ||