Don't show avatar tooltips when context menu open

This commit is contained in:
miruka
2020-07-22 00:04:12 -04:00
parent e917e29913
commit 0f1d0f336e
3 changed files with 9 additions and 10 deletions

View File

@@ -82,10 +82,12 @@ Rectangle {
background.border.width * 2,
)
visible: ! avatarImage.broken &&
avatarImage.width < dimension * 0.75 &&
(toolTipSourceOverride || toolTipMxc) &&
hoverHandler.hovered
visible:
! avatarImage.broken &&
! window.anyMenu &&
avatarImage.width < dimension * 0.75 &&
(toolTipSourceOverride || toolTipMxc) &&
hoverHandler.hovered
delay: 1000
backgroundColor: theme.controls.avatar.hoveredImage.background