Hide EventImage bubbles on hover
This commit is contained in:
parent
db36ab6a74
commit
d1e1ed07dd
1
TODO.md
1
TODO.md
|
@ -14,6 +14,7 @@
|
||||||
- Video: missing buttons and small size problems
|
- Video: missing buttons and small size problems
|
||||||
- Audio: online playback is buggy, must download+play file
|
- Audio: online playback is buggy, must download+play file
|
||||||
- EventLink
|
- EventLink
|
||||||
|
- Special treatment for matrix.to URLs?
|
||||||
- EventFile & Downloading (right click on media > save as...)
|
- EventFile & Downloading (right click on media > save as...)
|
||||||
|
|
||||||
- Refactoring
|
- Refactoring
|
||||||
|
|
|
@ -85,6 +85,10 @@ HMxcImage {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
text: loader.showSender
|
text: loader.showSender
|
||||||
textFormat: Text.StyledText
|
textFormat: Text.StyledText
|
||||||
|
opacity: hover.hovered ? 0 : 1
|
||||||
|
visible: opacity > 0
|
||||||
|
|
||||||
|
Behavior on opacity { HNumberAnimation {} }
|
||||||
}
|
}
|
||||||
|
|
||||||
EventImageTextBubble {
|
EventImageTextBubble {
|
||||||
|
@ -92,5 +96,9 @@ HMxcImage {
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
text: [loader.showDate, loader.showLocalEcho].join(" ").trim()
|
text: [loader.showDate, loader.showLocalEcho].join(" ").trim()
|
||||||
textFormat: Text.StyledText
|
textFormat: Text.StyledText
|
||||||
|
opacity: hover.hovered ? 0 : 1
|
||||||
|
visible: opacity > 0
|
||||||
|
|
||||||
|
Behavior on opacity { HNumberAnimation {} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user