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
|
- EventLink
|
||||||
- Special treatment for matrix.to URLs?
|
- Special treatment for matrix.to URLs?
|
||||||
- EventFile & Downloading (right click on media > save as...)
|
- EventFile & Downloading (right click on media > save as...)
|
||||||
|
- Prevent using upload keybinds in rooms with no perms
|
||||||
|
|
||||||
- Refactoring
|
- Refactoring
|
||||||
- Use a singleton for utils.js
|
- Use a singleton for utils.js
|
||||||
|
|
|
@ -57,7 +57,9 @@ Rectangle {
|
||||||
|
|
||||||
HToolTip {
|
HToolTip {
|
||||||
id: avatarToolTip
|
id: avatarToolTip
|
||||||
visible: (toolTipSourceOverride || toolTipMxc) &&
|
visible: ! avatarImage.broken &&
|
||||||
|
avatarImage.status !== Image.Error &&
|
||||||
|
(toolTipSourceOverride || toolTipMxc) &&
|
||||||
hoverHandler.hovered
|
hoverHandler.hovered
|
||||||
delay: 1000
|
delay: 1000
|
||||||
backgroundColor: theme.controls.avatar.hoveredImage.background
|
backgroundColor: theme.controls.avatar.hoveredImage.background
|
||||||
|
|
Loading…
Reference in New Issue
Block a user