diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 13:04:22 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 13:04:22 -0600 |
commit | d3b07cd2025b0ee1ba76b8e92492f035ff447f33 (patch) | |
tree | a4b42cb95b3829b7631b5e6a557c64d9175b5672 /framework/qml/DelegateBackground.qml | |
parent | 1d8bc8edef997544243d66d9761ccfb7a51a8d74 (diff) | |
download | kube-d3b07cd2025b0ee1ba76b8e92492f035ff447f33.tar.gz kube-d3b07cd2025b0ee1ba76b8e92492f035ff447f33.zip |
Bring back the highlight on buttons
Diffstat (limited to 'framework/qml/DelegateBackground.qml')
-rw-r--r-- | framework/qml/DelegateBackground.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/qml/DelegateBackground.qml b/framework/qml/DelegateBackground.qml index 633a39ca..4059d69a 100644 --- a/framework/qml/DelegateBackground.qml +++ b/framework/qml/DelegateBackground.qml | |||
@@ -25,6 +25,7 @@ Rectangle { | |||
25 | property bool focused: false | 25 | property bool focused: false |
26 | property bool selected: false | 26 | property bool selected: false |
27 | property color highlightColor: Kube.Colors.highlightColor | 27 | property color highlightColor: Kube.Colors.highlightColor |
28 | property alias highlightOpacity: highlight.opacity | ||
28 | property color borderColor: Kube.Colors.focusedButtonColor | 29 | property color borderColor: Kube.Colors.focusedButtonColor |
29 | 30 | ||
30 | Rectangle { | 31 | Rectangle { |
@@ -33,6 +34,7 @@ Rectangle { | |||
33 | color: root.highlightColor | 34 | color: root.highlightColor |
34 | } | 35 | } |
35 | Rectangle { | 36 | Rectangle { |
37 | id: highlight | ||
36 | anchors.fill: parent | 38 | anchors.fill: parent |
37 | visible: root.focused && !root.selected | 39 | visible: root.focused && !root.selected |
38 | color: root.highlightColor | 40 | color: root.highlightColor |