Try to fix binding loop warning

This commit is contained in:
Nicolas Werner 2019-12-07 15:00:06 +01:00
parent 362efbf5b9
commit 05aa7f948a

View file

@ -59,9 +59,10 @@ Item {
ScrollBar.vertical: ScrollBar { ScrollBar.vertical: ScrollBar {
id: scrollbar id: scrollbar
anchors.top: parent.top parent: chat.parent
anchors.left: parent.right anchors.top: chat.top
anchors.bottom: parent.bottom anchors.left: chat.right
anchors.bottom: chat.bottom
onPressedChanged: if (!pressed) chat.updatePosition() onPressedChanged: if (!pressed) chat.updatePosition()
} }