mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fix messages sometimes not being rendered, when they are too large
This commit is contained in:
parent
6a2e8a6952
commit
2606568376
2 changed files with 0 additions and 5 deletions
|
@ -13,7 +13,6 @@ ListView {
|
|||
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
cacheBuffer: 400
|
||||
model: TimelineManager.timeline
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
pixelAligned: true
|
||||
|
|
|
@ -123,10 +123,6 @@ DelegateChooser::DelegateIncubator::statusChanged(QQmlIncubator::Status status)
|
|||
}
|
||||
|
||||
chooser.child_->setParentItem(&chooser);
|
||||
connect(chooser.child_, &QQuickItem::heightChanged, &chooser, [this]() {
|
||||
chooser.setHeight(chooser.child_->height());
|
||||
});
|
||||
chooser.setHeight(chooser.child_->height());
|
||||
QQmlEngine::setObjectOwnership(chooser.child_,
|
||||
QQmlEngine::ObjectOwnership::JavaScriptOwnership);
|
||||
emit chooser.childChanged();
|
||||
|
|
Loading…
Reference in a new issue