Remove rectangle aboce folder state indicator background in tray folders menu button
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 21 Nov 2024 05:29:45 +0000 (13:29 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 21 Nov 2024 05:29:45 +0000 (13:29 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/tray/TrayFoldersMenuButton.qml

index 9ba7cf693a4ff738889680edd28cabfb2cb3f070..85fa37d098ede3695f53502faabd7a6145c246ae 100644 (file)
@@ -94,16 +94,6 @@ HeaderButton {
                     color: root.parentBackgroundColor
                     anchors.centerIn: parent
                     radius: width * Style.trayFolderStatusIndicatorRadiusFactor
-                    z: -2
-                }
-
-                Rectangle {
-                    id: folderStateIndicatorBackgroundMouseHover
-                    width: Style.folderStateIndicatorSize + Style.trayFolderStatusIndicatorSizeOffset
-                    height: width
-                    anchors.centerIn: parent
-                    opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor
-                    radius: width * Style.trayFolderStatusIndicatorRadiusFactor
                     z: -1
                 }
             }