diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-15 19:24:44 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-15 19:24:44 +0200 |
commit | 02347d57f8009cacb8d1aa80a763e33688feda2e (patch) | |
tree | fadf5fb1e04cdf9a5b00a3084bb82f26146f1b44 /components/package/contents | |
parent | e0da2fdd76d8ef1d77fb1c583847400223211406 (diff) | |
download | kube-02347d57f8009cacb8d1aa80a763e33688feda2e.tar.gz kube-02347d57f8009cacb8d1aa80a763e33688feda2e.zip |
add opacity to the edit button to make it less distracive when switching accounts
Diffstat (limited to 'components/package/contents')
-rw-r--r-- | components/package/contents/ui/AccountSwitcher.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml index a697b29d..bfdc4f7a 100644 --- a/components/package/contents/ui/AccountSwitcher.qml +++ b/components/package/contents/ui/AccountSwitcher.qml | |||
@@ -130,7 +130,6 @@ Button { | |||
130 | 130 | ||
131 | Layout.fillHeight: true | 131 | Layout.fillHeight: true |
132 | 132 | ||
133 | |||
134 | KubeFramework.AccountFactory { | 133 | KubeFramework.AccountFactory { |
135 | id: accountFactory | 134 | id: accountFactory |
136 | accountId: model.accountId | 135 | accountId: model.accountId |
@@ -151,6 +150,7 @@ Button { | |||
151 | margins: Kirigami.Units.largeSpacing | 150 | margins: Kirigami.Units.largeSpacing |
152 | } | 151 | } |
153 | 152 | ||
153 | opacity: hovered ? 1 : 0.7 | ||
154 | visible: accountDelegate.containsMouse | 154 | visible: accountDelegate.containsMouse |
155 | text: "edit" | 155 | text: "edit" |
156 | } | 156 | } |