summary refs log tree commit diff
path: root/resources/qml/MatrixText.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/MatrixText.qml')
-rw-r--r--resources/qml/MatrixText.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml

index 9129b154..35e5f7e7 100644 --- a/resources/qml/MatrixText.qml +++ b/resources/qml/MatrixText.qml
@@ -8,6 +8,7 @@ import im.nheko 1.0 TextEdit { id: r + textFormat: TextEdit.RichText readOnly: true focus: false @@ -19,14 +20,13 @@ TextEdit { onLinkActivated: Nheko.openLink(link) ToolTip.visible: hoveredLink ToolTip.text: hoveredLink + Component.onCompleted: { + TimelineManager.fixImageRendering(r.textDocument, r); + } CursorShape { anchors.fill: parent cursorShape: hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor } - Component.onCompleted: { - TimelineManager.fixImageRendering(r.textDocument, r) - } - }