summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-12-07 15:00:06 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2019-12-07 15:00:06 +0100
commit05aa7f948ae5a51a177f8be84343593a53d5b90d (patch)
treef2107c007a4df55a2c9f39f2ef3c5e9d4539aae3 /resources/qml
parentRestore linkification of messages (diff)
downloadnheko-05aa7f948ae5a51a177f8be84343593a53d5b90d.tar.xz
Try to fix binding loop warning
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/TimelineView.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index b97af0dd..0defa282 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -59,9 +59,10 @@ Item {
 
 			ScrollBar.vertical: ScrollBar {
 				id: scrollbar
-				anchors.top: parent.top
-				anchors.left: parent.right
-				anchors.bottom: parent.bottom
+				parent: chat.parent
+				anchors.top: chat.top
+				anchors.left: chat.right
+				anchors.bottom: chat.bottom
 				onPressedChanged: if (!pressed) chat.updatePosition()
 			}