diff options
Diffstat (limited to 'framework/qml/IconButton.qml')
-rw-r--r-- | framework/qml/IconButton.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/IconButton.qml b/framework/qml/IconButton.qml index 6c18ed0e..3be0b887 100644 --- a/framework/qml/IconButton.qml +++ b/framework/qml/IconButton.qml | |||
@@ -38,11 +38,11 @@ T.Button { | |||
38 | background: Rectangle { | 38 | background: Rectangle { |
39 | color: Kube.Colors.focusedButtonColor | 39 | color: Kube.Colors.focusedButtonColor |
40 | 40 | ||
41 | visible: root.hovered || root.activeFocus | 41 | visible: root.hovered || root.visualFocus |
42 | 42 | ||
43 | Rectangle { | 43 | Rectangle { |
44 | anchors.fill: parent | 44 | anchors.fill: parent |
45 | visible: root.hovered || root.pressed || root.activeFocus | 45 | visible: root.hovered || root.pressed |
46 | color: root.pressed ? Kube.Colors.textColor : Kube.Colors.viewBackgroundColor | 46 | color: root.pressed ? Kube.Colors.textColor : Kube.Colors.viewBackgroundColor |
47 | opacity: 0.2 | 47 | opacity: 0.2 |
48 | } | 48 | } |