Skip to content

Commit

Permalink
Remove user status hover effect and background color.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Sep 13, 2024
1 parent ae7b97e commit c92310f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c92310f

Please sign in to comment.