Hide avatar tooltips for broken thumbnails
This commit is contained in:
parent
5bef84064d
commit
1ecd383791
1
TODO.md
1
TODO.md
|
@ -19,6 +19,7 @@
|
|||
- EventLink
|
||||
- Special treatment for matrix.to URLs?
|
||||
- EventFile & Downloading (right click on media > save as...)
|
||||
- Prevent using upload keybinds in rooms with no perms
|
||||
|
||||
- Refactoring
|
||||
- Use a singleton for utils.js
|
||||
|
|
|
@ -57,7 +57,9 @@ Rectangle {
|
|||
|
||||
HToolTip {
|
||||
id: avatarToolTip
|
||||
visible: (toolTipSourceOverride || toolTipMxc) &&
|
||||
visible: ! avatarImage.broken &&
|
||||
avatarImage.status !== Image.Error &&
|
||||
(toolTipSourceOverride || toolTipMxc) &&
|
||||
hoverHandler.hovered
|
||||
delay: 1000
|
||||
backgroundColor: theme.controls.avatar.hoveredImage.background
|
||||
|
|
Loading…
Reference in New Issue
Block a user