Hide avatar tooltip if avatar already big enough

This commit is contained in:
miruka 2019-12-13 06:21:12 -04:00
parent 5dc228f197
commit 37023638c0

View File

@ -59,6 +59,7 @@ Rectangle {
id: avatarToolTip
visible: ! avatarImage.broken &&
avatarImage.status !== Image.Error &&
avatarImage.width < dimension * 0.75 &&
(toolTipSourceOverride || toolTipMxc) &&
hoverHandler.hovered
delay: 1000