summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/qml/Button.qml2
-rw-r--r--framework/qml/IconButton.qml2
-rw-r--r--framework/qml/PositiveButton.qml2
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml
index 6a3654cc..664d9b3d 100644
--- a/framework/qml/Button.qml
+++ b/framework/qml/Button.qml
@@ -38,7 +38,7 @@ T.Button {
38 38
39 Rectangle { 39 Rectangle {
40 anchors.fill: parent 40 anchors.fill: parent
41 visible: root.hovered || root.pressed 41 visible: root.hovered || root.pressed || root.activeFocus
42 color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor 42 color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor
43 opacity: 0.2 43 opacity: 0.2
44 } 44 }
diff --git a/framework/qml/IconButton.qml b/framework/qml/IconButton.qml
index a0cd704f..a2a9245d 100644
--- a/framework/qml/IconButton.qml
+++ b/framework/qml/IconButton.qml
@@ -41,7 +41,7 @@ T.Button {
41 41
42 Rectangle { 42 Rectangle {
43 anchors.fill: parent 43 anchors.fill: parent
44 visible: root.hovered || root.pressed 44 visible: root.hovered || root.pressed || root.activeFocus
45 color: root.pressed ? Kube.Colors.textColor : Kube.Colors.viewBackgroundColor 45 color: root.pressed ? Kube.Colors.textColor : Kube.Colors.viewBackgroundColor
46 opacity: 0.2 46 opacity: 0.2
47 } 47 }
diff --git a/framework/qml/PositiveButton.qml b/framework/qml/PositiveButton.qml
index fb8aab9b..7ec2e2c8 100644
--- a/framework/qml/PositiveButton.qml
+++ b/framework/qml/PositiveButton.qml
@@ -38,7 +38,7 @@ T.Button {
38 38
39 Rectangle { 39 Rectangle {
40 anchors.fill: parent 40 anchors.fill: parent
41 visible: root.hovered || root.pressed 41 visible: root.hovered || root.pressed || root.activeFocus
42 color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor 42 color: root.pressed ? Colors.textColor : Colors.viewBackgroundColor
43 opacity: 0.2 43 opacity: 0.2
44 } 44 }