From c92310facb86f31cad5cce13ab024ffccb72963d Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Fri, 13 Sep 2024 11:28:14 +0200 Subject: [PATCH] Remove user status hover effect and background color. Signed-off-by: Camila Ayres --- src/gui/tray/Window.qml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index c6d4317e7a09d..9ec57f16c2877 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -441,22 +441,22 @@ ApplicationWindow { height: width anchors.bottom: currentAccountAvatar.bottom anchors.right: currentAccountAvatar.right - color: Style.currentUserHeaderColor radius: width * Style.trayFolderStatusIndicatorRadiusFactor } - Rectangle { - id: currentAccountStatusIndicatorMouseHover - visible: UserModel.currentUser && UserModel.currentUser.isConnected - && UserModel.currentUser.serverHasUserStatus - width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset - height: width - anchors.bottom: currentAccountAvatar.bottom - anchors.right: currentAccountAvatar.right - color: currentAccountButton.hovered ? Style.currentUserHeaderTextColor : palette.window - opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor - radius: width * Style.trayFolderStatusIndicatorRadiusFactor - } + // TODO: check if we want add any hover effect + // Rectangle { + // id: currentAccountStatusIndicatorMouseHover + // visible: UserModel.currentUser && UserModel.currentUser.isConnected + // && UserModel.currentUser.serverHasUserStatus + // width: Style.accountAvatarStateIndicatorSize + + Style.trayFolderStatusIndicatorSizeOffset + // height: width + // anchors.bottom: currentAccountAvatar.bottom + // anchors.right: currentAccountAvatar.right + // color: currentAccountButton.hovered ? palette.highlight : palette.window + // opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor + // radius: width * Style.trayFolderStatusIndicatorRadiusFactor + // } Image { id: currentAccountStatusIndicator