Fix event delegates extra bottom space
This commit is contained in:
parent
b4561ce50b
commit
e90312803b
2
TODO.md
2
TODO.md
|
@ -4,8 +4,6 @@
|
||||||
- rename goto*account → scrollto*account
|
- rename goto*account → scrollto*account
|
||||||
|
|
||||||
- fix opacity
|
- fix opacity
|
||||||
- fix back/front buttons in small window
|
|
||||||
- fix message delegate too tall
|
|
||||||
- fix left rooms opacity
|
- fix left rooms opacity
|
||||||
- fix escape keybinds (filter rooms, message selection)
|
- fix escape keybinds (filter rooms, message selection)
|
||||||
- fix python getting stuck when loading large room
|
- fix python getting stuck when loading large room
|
||||||
|
|
|
@ -271,10 +271,14 @@ HRowLayout {
|
||||||
|
|
||||||
HRepeater {
|
HRepeater {
|
||||||
id: linksRepeater
|
id: linksRepeater
|
||||||
model: [
|
model: {
|
||||||
eventDelegate.currentModel.media_url,
|
const links = JSON.parse(eventDelegate.currentModel.links)
|
||||||
...JSON.parse(eventDelegate.currentModel.links),
|
|
||||||
]
|
if (eventDelegate.currentModel.media_url)
|
||||||
|
links.push(eventDelegate.currentModel.media_url)
|
||||||
|
|
||||||
|
return links
|
||||||
|
}
|
||||||
|
|
||||||
EventMediaLoader {
|
EventMediaLoader {
|
||||||
singleMediaInfo: eventDelegate.currentModel
|
singleMediaInfo: eventDelegate.currentModel
|
||||||
|
|
|
@ -5,6 +5,7 @@ import "../../../Base"
|
||||||
|
|
||||||
HLoader {
|
HLoader {
|
||||||
id: loader
|
id: loader
|
||||||
|
visible: Boolean(item)
|
||||||
x: eventContent.spacing
|
x: eventContent.spacing
|
||||||
|
|
||||||
onTypeChanged: {
|
onTypeChanged: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user