Hide avatar tooltip if avatar already big enough
This commit is contained in:
parent
5dc228f197
commit
37023638c0
@ -59,6 +59,7 @@ Rectangle {
|
|||||||
id: avatarToolTip
|
id: avatarToolTip
|
||||||
visible: ! avatarImage.broken &&
|
visible: ! avatarImage.broken &&
|
||||||
avatarImage.status !== Image.Error &&
|
avatarImage.status !== Image.Error &&
|
||||||
|
avatarImage.width < dimension * 0.75 &&
|
||||||
(toolTipSourceOverride || toolTipMxc) &&
|
(toolTipSourceOverride || toolTipMxc) &&
|
||||||
hoverHandler.hovered
|
hoverHandler.hovered
|
||||||
delay: 1000
|
delay: 1000
|
||||||
|
Loading…
Reference in New Issue
Block a user