Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Cambra <claudio.cambra@gmail.com>2022-10-12 19:52:08 +0300
committerClaudio Cambra <claudio.cambra@gmail.com>2022-10-12 19:59:53 +0300
commit88a678bae1a15300846ce5b15300cb8befc5e276 (patch)
tree58899f8a195b70fef801e77f46289a5f30fd7beb
parent94eef10518262e1ae1f3e14fce31ddacb43b1af8 (diff)
Add hover effect to sync status buttonfeature/force-sync-tray-button
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
-rw-r--r--src/gui/tray/SyncStatus.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/tray/SyncStatus.qml b/src/gui/tray/SyncStatus.qml
index 695d3c121..e9a0e8617 100644
--- a/src/gui/tray/SyncStatus.qml
+++ b/src/gui/tray/SyncStatus.qml
@@ -14,6 +14,7 @@ Button {
padding: 0
flat: true
+ hoverEnabled: true
enabled: !syncStatus.syncing
onClicked: {
if(!syncStatus.syncing) {
@@ -21,6 +22,11 @@ Button {
}
}
+ background: Rectangle {
+ color: root.down ? Style.menuBorder :
+ root.hovered ? Style.lightHover : "transparent"
+ }
+
contentItem: RowLayout {
id: layout