summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MatrixText.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml
index 65d66315..9129b154 100644
--- a/resources/qml/MatrixText.qml
+++ b/resources/qml/MatrixText.qml
@@ -7,6 +7,7 @@ import QtQuick.Controls 2.3
 import im.nheko 1.0
 
 TextEdit {
+    id: r
     textFormat: TextEdit.RichText
     readOnly: true
     focus: false
@@ -24,4 +25,8 @@ TextEdit {
         cursorShape: hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
     }
 
+    Component.onCompleted: {
+        TimelineManager.fixImageRendering(r.textDocument, r)
+    }
+
 }