mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Fix parent undefined warning
This commit is contained in:
parent
0da1a6d5fc
commit
fe12e63c7c
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ Page {
|
||||||
|
|
||||||
id: wrapper
|
id: wrapper
|
||||||
property Item section
|
property Item section
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
|
||||||
width: chat.delegateMaxWidth
|
width: chat.delegateMaxWidth
|
||||||
height: section ? section.height + timelinerow.height : timelinerow.height
|
height: section ? section.height + timelinerow.height : timelinerow.height
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
Loading…
Reference in a new issue